- Empty your BTC wallet for safety reasons and transfer it to a newly created BTC HD Wallet. If you know your HD master private key or the 12 words of the old wallet, go to step 5
- Backup: save the encrypted wallet (Safety -> Back up wallet) and move the backup file to your computer (e.g. via file transfer, Dropbox, e-mail...).
- Decrypt: open the bash, move to your data directory and use
as stated above, which will ask for the encryption password.$ openssl enc -d -aes-256-cbc -md md5 -a -in bitcoin-wallet-backup > bitcoin_decrypted
- Install bitcoinj:
load the decrypted wallet and dump the private keys:$ git clone https://github.com/bitcoinj/bitcoinj.git $ cd bitcoinj $ mvn install $ cd tools $ ./wallet-tool
Now look for the line:$ ./wallet-tool dump --wallet=/mnt/d/path/to/wallet/bitcoin_decrypted --dump-privkeys --password <yourpin> | less
Seed as words:
and write down your mnemonics. - Get Electron Cash and run it
- Create a new wallet
- "Standard Wallet"
- "I already have a seed"
- Enter the words from step 4 Options: BIP39 seed
- Derivation: m/0'
- Set a password
- Wait for the synchronization and your BCH to appear
- For safety reasons transfer your BCH to another wallet
Last active
October 2, 2018 09:07
-
-
Save haraldh/ebe3a6b790ee6a2e6d4bbee0edebfcc4 to your computer and use it in GitHub Desktop.
HOWTO: move Bitcoin Cash BCH from your Schildbach/bitcoinj wallet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This helped a lot thanks! It would be simpler just to grep for 'Seed as words':
$ ./wallet-tool dump --wallet=/mnt/d/path/to/wallet/bitcoin_decrypted --dump-privkeys --password | grep 'Seed as words'