If you have received a payment to some address, which is not listed in your wallet, but was generated from your XPub — don't worry, it's not lost and can be recovered as follows:
- install Electrum (tested on version 2.7.12)
- in Electrum, restore wallet with the inaccessible funds from its BIP32 Passphrase (also called Seed, 13 words)
- in the restored wallet, switch to Console tab, paste
getmasterprivate()
, hit enter visit bip32.org- select "Derive From: BIP32 Key"
- paste
xprv…
from Electrum Console into the "BIP32 Extended Key" field - select "Derivation Path: Custom"
- paste
m/0/n
(or whatever is your gateway'saddress_derivation_scheme
) into the "Custom Path" field, wheren
is the order'skeychain_id
- ensure that generated value in "Address" field is equal to the order's address
- copy value from the "Private Key (WIF)" field
- import the obtained keys into a new wallet in Electrum: "File -> New/Restore -> Standard wallet -> Use public or private keys"
- paste one or more "Private Key (WIF)" values, one per line
- on the next step, addresses should appear on "Addresses" tab with the actual balances, ready to be spent
Hello! This job looks great! I lost my hope, but still need help. After running 'getmasterprivate()' I got this one: 'AttributeError: 'Old_KeyStore' object has no attribute 'get_master_private_key''
Would you mind help me a bit more?