Bitcoin Forum
November 06, 2024, 02:55:26 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Claiming BCH fork from Bitcoin Core  (Read 84 times)
rv79 (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 14


View Profile
July 17, 2021, 09: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.
ranochigo
Legendary
*
Offline Offline

Activity: 3038
Merit: 4420


Crypto Swap Exchange


View Profile
July 17, 2021, 10: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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
hosseinimr93
Legendary
*
Offline Offline

Activity: 2576
Merit: 5668



View Profile
July 17, 2021, 02:49:48 PM
 #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 <The address holding bitcoin cash>

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".

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
rv79 (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 14


View Profile
July 18, 2021, 07: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 <The address holding bitcoin cash>

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!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!