Generate Wallet From Private Key

Posted on  by 

  1. Share Of Wallet
  2. Bitcoin Wallet
  3. Generate Wallet From Private Key Software

How to export your Private key from Blockchain.info so you can import it into Omniwallet.org. This article has 3 sections - one for the new Blockchain.info wallets based of BIP39 seeds, one for classic wallet addresses imported into the new wallet and one for the classic old wallets.

Simple script collection, currently in bash and python format, to generate a complete offline Ethereum wallet by creating an ECDSA keypair and derive its Ethereum address.

You can read my article about it here: https://kobl.one/blog/create-full-ethereum-keypair-and-address/

Share Of Wallet

IMPORTANT The python version of this script has been updated to support mixed-case checksum address encoding through EIP55.

Python dependencies

  • ECDSA https://pypi.python.org/pypi/ecdsa
  • pysha3 https://pypi.python.org/pypi/pysha3

You can also use the included requirements.txt file to install them

Bash dependencies

  • OpenSSL
  • SHA3sum (keccak-256sum) https://github.com/maandree/sha3sum

Compiled, statically linked versions of the keccak-256sum executable are available in the lib folder of this repo for i386 and x86_64.

Importing private key to geth

You can use the generated private key to import in to geth (https://github.com/ethereum/go-ethereum).

Note that geth will ask you immediately to choose a passphrase to protect the newly imported key.

Example

This article has 3 sections - one for the new Blockchain.info wallets based of BIP39 seeds, one for classic wallet addresses imported into the new wallet and one for the classic old wallets.

For Blockchain.info's newer wallets based on a recovery phrase

Note: Blockchain.info's new wallets make use of a bip39 recovery seed to generate EVERY ADDRESS and PRIVATE KEY in your Blockchain.info account. At this time it is not possible to extract only 1 address' private key so the only option is to make use of the recovery seed to gain access to the address that has your OmniTokens. Extreme care should be taken to perform the following steps on an airgapped/offline machine to preserve the integrity of your recovery seed. You may even want to consider this method a fallback/last resort and after completing the recovery actions discard all addresses/wallets/accounts and start a new Blockchain.info wallet.You have been warned

  1. If you do not already have your Blockchain.info recovery seed/phrase you will need to login to your Blockchain.info account and navigate to the 'Security Center' and then click on the 'Phrase Backup' Option under Level 1 (Note: Once you backup the recovery phrase you will not be able to access it again. Make sure you properly record this info)
  2. If you have more than 1 wallet in your blockchain.info account you will need to determine which wallet contains the address you want to recover.
  3. In blockchain.info's wallet go to 'Settings-> Addresses'. You will see all your wallets listed by name.
  4. If you only have 1 then your Account number for step 6 is 0. If you have more than 1 then use the 'Manage Address' button to display the addresses within each wallet until you find the wallet that contains the address you want to recover/import into Omniwallet.
  5. Count down the list of wallets starting with 0 for the first/'My Bitcoin Wallet' and when you reach the wallet that has the address make note of its number. This will be the account number for step 6.
  6. Once you have your recovery phrase you will need access to the Bip39 generator
  7. We recommend you download the 'bip39-standalone.html' file directly from github to thumbdrive
  8. On your offline machine access/open/load the 'bip39-standalone.html' file
  9. Enter your Blockchain.info recovery phrase/seed in the webpage next to 'BIP39 Mnemonic'
  10. Choose number of words = '12' (or set the number of words for how many were in your recovery phrase)
  11. Scroll down to the 'Derivation Path' (leave BIP44 selected) and enter your account number from step 2 here.
  12. Leave all the rest of the entries set to their default
  13. Scroll down to the 'Derived Addresses' section and you should now see a list of addresses that will match the list of addresses in blockchain.info for your wallet.
  14. Find the address in question and copy its private key.
  15. Once you have this you can go to https://www.omniwallet.org and click 'Create a New Wallet' (or log into a wallet you already created).
  16. Once you have created/logged into your wallet go to the 'My Address' page and click the 'Import Address with Private Key' Button.
  17. Enter the private key you exported from blockchain.info and in a few moments that address should be added to your wallet and displayed in the list below giving you access to your BTC and any Omni Protocol Properties on that address.
  18. If the newly imported address does NOT match the address you are expecting try taking a look at this article: After importing my private key and the address I get is different than what I expected!

For Blockchain.info addresses imported into the New Blockchain.info Wallet from Blockchain.info's Classic Wallets

Bitcoin Wallet

  1. Login to your wallet on Blockchain.info
  2. Goto the 'Settings' Menu on the left
  3. Goto the 'Addresses' Submenu under 'Settings' Menu
  4. On the right side find the section named 'Imported Addresses'
  5. Click on 'Manage Addresses'
  6. On the new screen find the address you want to export the private key from
  7. Click on the 'More Options' on far right side of that address
  8. Select 'Private Key' and then 'Continue'
  9. Choose the 'Private Key Format' : 'WIF'
  10. Copy the Private Key listed and go to your Omniwallet
  11. Once you have this you can go to https://www.omniwallet.org and click 'Create a New Wallet' (or log into a wallet you already created).
  12. Once you have created/logged into your wallet go to the 'My Address' page and click the 'Import Address with Private Key' Button.
  13. Enter the private key you exported from blockchain.info and in a few moments that address should be added to your wallet and displayed in the list below giving you access to your BTC and any Omni Protocol Properties on that address.
  14. If the newly imported address does NOT match the address you are expecting try taking a look at this article: After importing my private key and the address I get is different than what I expected!
Bitcoin

For Blockchain.info Classic Wallets

  1. Login to your wallet on Blockchain.info
  2. Click 'Import/Export' link in the second header
  3. Click 'I Understand' to the advanced warning
  4. On the left side menu click 'Export unencrypted'
  5. Enter your secondary password
  6. Select the 'Private Key Format' of 'Bitcoin-QT Format'
  7. In the window underneath you will see a bunch of json formatted text (text enclosed in {} braces).
  8. Search for the last few lines that look like 'addr':'1Pd3','priv':'........'
  9. Your private key will be the shown after the 'priv' and will start with either the number 5 or the letter K
  10. Once you have this you can go to https://www.omniwallet.org and click 'Create a New Wallet' (or log into a wallet you already created).
  11. Once you have created/logged into your wallet go to the 'My Address' page and click the 'Import Address with Private Key' Button.
  12. Enter the private key you exported from blockchain.info and in a few moments that address should be added to your wallet and displayed in the list below giving you access to your BTC and any Omni Protocol Properties on that address.
  13. If the newly imported address does NOT match the address you are expecting try taking a look at this article: After importing my private key and the address I get is different than what I expected!

Generate Wallet From Private Key Software

Clone this wiki locally

Coments are closed