Author

Topic: Splitting coins in a Bitcoin Core wallet after potential fork August 1st (Read 6760 times)

member
Activity: 61
Merit: 10
AWorldWideWebOfReasons AWorldWideWebOfResults
There is no need to make a second Bitcoin Core wallet, or to even do anything to split your coins. Since they now have two way replay protection, your coins will be split the moment the chain forks.

What you need to do to spend your ABC coins is to just make a copy of your Core wallet.dat file. Then install the Bitcoin ABC client and put your copied wallet.dat file in the place where you want the ABC datadir to be (do this before starting ABC). Then start ABC and let it sync. When you want to spend your ABC coins, just use the ABC wallet. When you want to spend your Core coins, use the Bitcoin Core wallet.

thank-you for your posts achow101 and dotbitme...

Would this twist on this method save a step. My goal is to move my bch to a paper wallet...

copy over the datadir and wallet.dat to a new directory
start bitcoin core, point it to new directory
load with new paperwallet address in the receiving list
sync it
send prefork btc to new address, wait for confirms
close Bitcoin core
install bitcoin abc, let it overwrite the files, sync it,
load with key from prefork btc, bch shows up,
send to new paper-wallet address that was loaded in bitcoin core

doing it this way i wouldnt have to go back to bitcore coin and would save a transaction... i havn't used bitcoin core yet, but from what i understand if i let it create a receiving address of it's own im going to have to extract the key and or do the passphrase thingy to get it simply from one addy to another... within the same wallet...





HCP
legendary
Activity: 2086
Merit: 4361
If your BTC was in a wallet where you have access to the private keys when Block #478558 was mined on the BTC network... then you should be able to "claim" an equal amount of BCC regardless of what you did with your BTC after this time. You could have sold all your BTC for DOGE coin, or sent it all to a BTC burner address or spent it all on blackjack and hookers.

The BTC and BCC chains split at Block #478559... so the two chains share a common history up until Block #478558.

You don't need your coins back in your Mycelium wallet to start... in fact, you're technically safer if they are NOT in your Mycelium wallet (and you never use that wallet again and generate a completely new wallet with new keys)... that way, only your BCC is in danger if the BCC wallet you use to claim your BCC is rouge and steals your keys
newbie
Activity: 1
Merit: 0
Hi guys,

Sorry for the n00b question, but I'd really appreciate some guidance on the below:

I sent the majority of my BTC to my Mycelium wallet pre-August 1.

Since then I've sent it to various exchanges (Bittrex and Coinbase) with the intention to trade. But then I discovered I can actually claim Bitcoin Cash against my Bitcoin. WOOP!

So I've sent my BTC back from the exchanges to Mycelium. Can I still claim my Bitcoin Cash against those BTC, even though they've been sent to exchanges and back since August 1st?

I tried to do some research prior to asking here. There are detailed outlines of how to retrieve your BCC from a Mycelium wallet (listed below for those interested) but I can't find an answer for this particular situation.

I was hoping someone experienced from the community could advise me before I begin the retrieval process, given that there's a level risk involved with most procedures.

Thanks in advance!

- - - - - -
Guides to retrieving BCC from your BTC in a Mycelium wallet (which I'm assuming only work for cases where the BTC has been in the wallet since pre-August 1 and hasn't moved around)

https://steemit.com/btc/@libert/step-by-step-guide-on-claiming-bitcoincash-from-mycellium-wallet-201783t112141477z
https://bitcointalksearch.org/topic/claim-bitcoin-cash-from-mycelium-wallet-2058473
newbie
Activity: 2
Merit: 0
I transferred all my BTC out of my Bitcoin Core wallet after the fork occurred so they are in a new Bitcoin Core wallet safe. I then copied my Bitcoin Core wallet.dat file to the new Bitcoin ABC wallet on another computer. It shows my BCC balance as 0 in Bitcoin ABC wallet. Any advice would be greatly appreciated.
Bump... did you find out what the issue was? Maybe you needed to rescan?
[/quote

I figured it out. I backup up my wallet.dat, uninstalled bitcoin abc, deleted the users/username/AppData/Roaming/Bitcoin appdata directory. Then copied the backed up wallet.dat back in that directory. Reinstalled Bitcoin abc. It synced and now it works. Yay!
full member
Activity: 168
Merit: 100
I transferred all my BTC out of my Bitcoin Core wallet after the fork occurred so they are in a new Bitcoin Core wallet safe. I then copied my Bitcoin Core wallet.dat file to the new Bitcoin ABC wallet on another computer. It shows my BCC balance as 0 in Bitcoin ABC wallet. Any advice would be greatly appreciated.
Bump... did you find out what the issue was? Maybe you needed to rescan?

I have the same problems balance 0, but on blockchair my wallet have BCC, how to rescan ? thx
sr. member
Activity: 280
Merit: 250
I transferred all my BTC out of my Bitcoin Core wallet after the fork occurred so they are in a new Bitcoin Core wallet safe. I then copied my Bitcoin Core wallet.dat file to the new Bitcoin ABC wallet on another computer. It shows my BCC balance as 0 in Bitcoin ABC wallet. Any advice would be greatly appreciated.
Bump... did you find out what the issue was? Maybe you needed to rescan?
newbie
Activity: 2
Merit: 0
One last clarification in the spirit of not trusting BTC private keys to a non-core wallet:

I assume it is possible to first transfer all BTC out of a wallet (after the fork has occurred) and then copy the wallet.dat file to the ABC wallet, rescan and all BCC should show up. Is that correct?
Yes.

I transferred all my BTC out of my Bitcoin Core wallet after the fork occurred so they are in a new Bitcoin Core wallet safe. I then copied my Bitcoin Core wallet.dat file to the new Bitcoin ABC wallet on another computer. It shows my BCC balance as 0 in Bitcoin ABC wallet. Any advice would be greatly appreciated.
sr. member
Activity: 1400
Merit: 347
I created a second wallet, transferred funds to it, copied the blockchain to a second drive, kept the first wallet in this second drive, unplugged the first drive, got to another OS, installed bitcoin ABC, pointed it to the second drive, and...

Bitcoin ABC is showing BCC as transferred to the second wallet, which is on the original bitcoin-qt.

All the five transactions are there. I spend money with these transactions for nothing, since it didn't split.

How can I split them? I did everything said here: https://bitcointalksearch.org/topic/aug-1-summary-2059111 even installed another OS to access it and not mess any files.
newbie
Activity: 2
Merit: 0
Good afternoon!
Sorry for the stupid questions, but finally got confused.
If I have Bitcoin Core on my PC and I install Bitcon ABC on the same PC in another folder with activation of my wallet.dat, will I get the same amount of BBC coin on this purse?
Example: we have 1 BTC, set Bitcon ABC gets 1 BCC? Do I lose my 1 BTC?
Next, I sell 1 BCC somewhere for 0.5 BTC, I transfer to the old Bitcoin Core and I get 1.5 BTC in the TOTAL?
And how much time do I have for such actions, if they are true?
Sorry if I'm stupid. )))) I ask for clarification.
full member
Activity: 238
Merit: 100
Thanks a lot achow101. Smiley
staff
Activity: 3458
Merit: 6793
Just writing some code
1.If my Bitcoin Core datadir is allready synchronized after the fork can I steel path this datadir to Bitcoin ABC ?
Yes, but I wouldn't recommend it. Using the datadir which has a chainstate of what ABC would consider an invalid chain may result in some really weird behavior. No one has testing doing that before, so no one knows what will happen and what could go wrong.

2. Also is that correct that I can now send my money from wallet.dat from Bitcoin Core and than I can use it with zero balance on it, but Bitcoin ABC still will show preforked BTC ammount even if I send it after fork to another adress.. Is it absolutely right?
Yes. BTC transactions are invalid to BCC nodes and vice versa.
full member
Activity: 238
Merit: 100

Quote
Yes, but you cannot run both at the same time, and because there will be a fork, I recommend that you don't do that as you will have blocks that are invalid to one software and vice versa. Instead of downloading a new chain, right now, before the fork, you should make a copy of your entire datadir and have Bitcoin ABC use the copied datadir by starting it with the -datadir= option.


1.If my Bitcoin Core datadir is allready synchronized after the fork can I steel path this datadir to Bitcoin ABC ?


2. Also is that correct that I can now send my money from wallet.dat from Bitcoin Core and than I can use it with zero balance on it, but Bitcoin ABC still will show preforked BTC ammount even if I send it after fork to another adress.. Is it absolutely right?
newbie
Activity: 2
Merit: 0
You rock achow101! Thanks for confirming.
staff
Activity: 3458
Merit: 6793
Just writing some code
2. Install ABC client in new/separate datadir (might even use a separate computer altogether) from Core and place following:
    a) Copied Core wallet.dat file from pre-fork.
    b) Copied blocks stopped with 2 weeks behind (or some other cushion time) to save ABC sync time.
3. Start Core Wallet and complete sync (remaining ~2 weeks + new blocks).
4. Transfer all BTC by sending to new address.
5. Start ABC and complete sync (~2 weeks of core chain + new ABC blocks) and scan Core wallet.dat file.
6. Now able to spend ABC coins from ABC wallet?
Yes to all of the above.
newbie
Activity: 2
Merit: 0
Just a quick followup question: I am in a similar situation as OP with a small caveat - my Bitcoin Core wallet (0.14.2) has not been fully synced; it is currently approx ~47 weeks behind with a 15-hour ETA and does not show the up-to-date BTC balance. Would I be able to follow the same steps outlined but copy the datadir of the original core wallet with 2 weeks remaining on sync as to save some time syncing the entire blockchain all over again, or would this not be compatible due to the potential of the tail-end of the sync occurring post-fork.

To summarize, would the following game-plan be viable?

1. Already created copy of Core wallet.dat file

---- Post-Fork -----

2. Install ABC client in new/separate datadir (might even use a separate computer altogether) from Core and place following:
    a) Copied Core wallet.dat file from pre-fork.
    b) Copied blocks stopped with 2 weeks behind (or some other cushion time) to save ABC sync time.
3. Start Core Wallet and complete sync (remaining ~2 weeks + new blocks).
4. Transfer all BTC by sending to new address.
5. Start ABC and complete sync (~2 weeks of core chain + new ABC blocks) and scan Core wallet.dat file.
6. Now able to spend ABC coins from ABC wallet?

Any clarification is greatly appreciated, thanks!
member
Activity: 168
Merit: 10
Thanks for your quick answers!
staff
Activity: 3458
Merit: 6793
Just writing some code
Any idea where this datadir is on Windows? I have:
C:\Program Files\BitcoinABC
C:\Program Files\BitcoinABC\daemon
C:\Program Files\BitcoinABC\doc
The datadir for Bitcoin ABC is the same as Bitcoin Core's datadir. This is C:\Users\\AppData\Bitcoin.

Also, can I share the transaction history with my Bitcoin Core Wallet, or do I need to download a new and separate transaction history? It takes ages to download.
Yes, but you cannot run both at the same time, and because there will be a fork, I recommend that you don't do that as you will have blocks that are invalid to one software and vice versa. Instead of downloading a new chain, right now, before the fork, you should make a copy of your entire datadir and have Bitcoin ABC use the copied datadir by starting it with the -datadir= option.
member
Activity: 168
Merit: 10
What you need to do to spend your ABC coins is to just make a copy of your Core wallet.dat file. Then install the Bitcoin ABC client and put your copied wallet.dat file in the place where you want the ABC datadir to be (do this before starting ABC). Then start ABC and let it sync. When you want to spend your ABC coins, just use the ABC wallet. When you want to spend your Core coins, use the Bitcoin Core wallet.
Any idea where this datadir is on Windows? I have:
C:\Program Files\BitcoinABC
C:\Program Files\BitcoinABC\daemon
C:\Program Files\BitcoinABC\doc

Also, can I share the transaction history with my Bitcoin Core Wallet, or do I need to download a new and separate transaction history? It takes ages to download.
staff
Activity: 3458
Merit: 6793
Just writing some code
One last clarification in the spirit of not trusting BTC private keys to a non-core wallet:

I assume it is possible to first transfer all BTC out of a wallet (after the fork has occurred) and then copy the wallet.dat file to the ABC wallet, rescan and all BCC should show up. Is that correct?
Yes.
jr. member
Activity: 65
Merit: 2
dotbit.me
One last clarification in the spirit of not trusting BTC private keys to a non-core wallet:

I assume it is possible to first transfer all BTC out of a wallet (after the fork has occurred) and then copy the wallet.dat file to the ABC wallet, rescan and all BCC should show up. Is that correct?
legendary
Activity: 4228
Merit: 1313
Ahh, so it's that simple now that SIGHASH_FORKID has been added - GREAT!

Thanks for the quick reply

You should also be able to copy (not move) the blocks themselves to the appropriate ABC directory and begin from there to save yourself having to resync it all.

jr. member
Activity: 65
Merit: 2
dotbit.me
Ahh, so it's that simple now that SIGHASH_FORKID has been added - GREAT!

Thanks for the quick reply
staff
Activity: 3458
Merit: 6793
Just writing some code
There is no need to make a second Bitcoin Core wallet, or to even do anything to split your coins. Since they now have two way replay protection, your coins will be split the moment the chain forks.

What you need to do to spend your ABC coins is to just make a copy of your Core wallet.dat file. Then install the Bitcoin ABC client and put your copied wallet.dat file in the place where you want the ABC datadir to be (do this before starting ABC). Then start ABC and let it sync. When you want to spend your ABC coins, just use the ABC wallet. When you want to spend your Core coins, use the Bitcoin Core wallet.
jr. member
Activity: 65
Merit: 2
dotbit.me
I am trying to establish a safe way to split coins in a Bitcoin Core wallet after the fork without risking BTC in exchanges or non-Core clients. My initial thinking was to do it like this:

  • The original wallet containing BTC is a normal Bitcoin Core wallet fully synced.
  • Set up a new Bitcoin Core wallet as well as a Bitcoin ABC wallet.
  • Transfer the BTC from the original wallet to the new Core wallet with OP_RETURN "Bitcoin: A Peer-to-Peer Electronic Cash System" which makes the transaction invalid on the new BCC network.
  • Stop the original Core wallet (now empty on the original chain) and the ABC wallet and copy the wallet.dat from the original Core wallet to the ABC wallet.
  • Restart the ABC wallet with -rescan. The BCC should now show up in the ABC wallet while the BTC are safe in the new Core wallet as the transfer above is only valid on the BTC side. Transfer the BCC to an exchange and sell for BTC.

Would this even work? I would love some advice.

In the latest BCC specification there is a new way using SIGHASH_FORKID, but I am unsure how to make use of that instead? The OP_RETURN is still valid but obsolete.


Jump to: