But if you did not get an error when importing, it is more likely that your private keys simply do not have a balance. So it appears your private keys in the question are not valid because they are only 51 characters long not 52. That is the destination address, and it will be from your existing electrum wallet. ![]() Enter the private keys in the appropriate field. This is the same private key in (mainnet) wallet import format To sweep private keys, go to the Wallet menu -> Private Keys -> Sweep. Private keys associated with compressed public keys are 52 characters and start with a capital L or K on mainnet (c on testnet). From the bitcoin wiki:įor private keys associated with uncompressed public keys, they are 51 characters and always start with the number 5 on mainnet (9 on testnet). The private keys should be in Base58 encoded Wallet Import Format (WIF). Which private key is the one that I should get, so that I can import it to bitcoin-qt wallet? Is this even the right approach? I tried first two of mentioned 27 addresses but none of them worked. As a side note, be EXTREMELY careful when importing private keys into wallet software which has not necessarily been securely reviewed/tested (e.g. I don't think there's a way to import a master private key into bitcoin core (or any forks of it) currently, you can only import individual address private keys. Balance is still zero.įirstly, I really hope those private keys in your answer are not real private keys from your wallet, because posting real private keys on here will guarantee you will get your coins stolen.ĭo your addresses in electrum all start with a 1 or a 3? I am assuming they start with a 1, because addresses which start with a 3 are P2SH addresses and are a bit more complicated to export/import. Electrum-LTC is a Litecoin that does not download the blockchain, instead using a network of specialized servers that index the blockchain. Output of command was 'null', yet my coins were not imported. Importprivkey 元285rshf9LgkMfaNogEARoJpGhGVMMKd1dQgRgrtGd7EQ8F4qW '' true Importprivkey 元285rshf9LgkMfaNogEARoJpGhGVMMKd1dQgRgrtGd7EQ8F4qW '' false I tried to get private keys from all (27)addresses and then run this command to import them all: importprivkey 元285rshf9LgkMfaNogEARoJpGhGVMMKd1dQgRgrtGd7EQ8F4qW '' false However, I get Invalid private key encoding (code -5) error from bitcoin-qt when trying to import my master private key.( into bitcoin gold core wallet) In other words the two legacy P2PKH adresses (one uncompressed, one compressed), one segwit P2WPKH-P2SH address, and one native segwit P2WPKH (bech32) address. ![]() I tried first two of mentioned 27 addresses but none of them worked.Īlso when I export my master private key from electrum: electrum getmasterprivate -w /home/path/to/my/wallet Our favorite wallet software Electrum requires a little help when importing a private key to include all its possible four public addresses. Which private key is the one that I should get, so that I can import it to bitcoin-qt wallet? Is this even the right approach? Then I use the below command to obtain private keys from a particular address: electrum getprivatekeys -w /path/to/my/wallet/file/default1 "myaddress" (commnand below) electrum -w /path/to/my/wallet/file/default1 listaddresses When I list my addresses I get a list of around 30 addresses.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |