Author

Topic: Claiming BCH fork from Bitcoin Core (Read 93 times)

newbie
Activity: 7
Merit: 14
July 18, 2021, 02:53:12 AM
#4
You don't need to use the master private key.
Just export the private key of the address holding bitcoin cash from bitcoin core and import it into electrum.

Go to console and use the following command for exporting the private key of any address you want from bitcoin core.

Code:
dumpprivkey

For importing the private key(s) into electroncash, select "Import Bitcoin Cash addresses or private key", enter your private key(s) and click on "Next".

Thank you, I was able to do this successfully. Massive thanks!
legendary
Activity: 2380
Merit: 5213
July 17, 2021, 09:49:48 AM
#3
You don't need to use the master private key.
Just export the private key of the address holding bitcoin cash from bitcoin core and import it into electrum.

Go to console and use the following command for exporting the private key of any address you want from bitcoin core.

Code:
dumpprivkey

For importing the private key(s) into electroncash, select "Import Bitcoin Cash addresses or private key", enter your private key(s) and click on "Next".
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
July 17, 2021, 05:16:33 AM
#2
How are you using dumpwallet? You need to specify an absolute path.

For example: dumpwallet E:/Bitcoin/dumpedwallet.txt

This creates a file in E:/Bitcoin with a text file dumpedwallet.txt which you can open with any text editor. The master private key should be there. I'm assuming that your BTC wallet was created after the HD wallet integration, ie. there is a HD symbol at the bottom right corner of your GUI.
newbie
Activity: 7
Merit: 14
July 17, 2021, 04:15:05 AM
#1
I'm trying to claim BCH from Bitcoin Core, where I used to have BTC (which I have successfully moved into a hardware wallet). I checked the public keys and they definitely hold BCH, the problem I have is how to move them.
I have followed this article: https://medium.com/@itsjameswhite/how-to-claim-bitcoin-cash-from-bitcoin-core-to-an-spv-wallet-d0316d6b6216 - but unfortunately the information isn't correct. I got stuck at Panel 5 - where I was meant to paste my private keys into the keystore input field on Electron Cash and click Next. However, it didn't work. The Next button never highlighted. I then realised that the article incorrectly says copy your private keys and paste them, whereas what I needed was the master private key (which is completely different).
It literally says: To create a watching-only wallet, please enter your master public key (xpub/ypub/zpub). To create a spending wallet, please enter a master private key (xprv/yprv/zprv).
I have tried to get this master private key from Bitcoin Core by the command dumpwallet, but I have no idea where to find the master private key. It was meant to create some kind of text file, but where? I can't find it anywhere, I went to Bitcoin directory and nothing's there.
Is there an easier way to claim BCH? I wouldn't like to do it by downloading a full node wallet like Bitcoin ABC as it would take too long.
Any other ways?
Thank you.
Jump to: