Bitcoin Forum
December 13, 2024, 05:48:53 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Need to decouple a particular address from an account / wallet  (Read 901 times)
Altoidnerd (OP)
Sr. Member
****
Offline Offline

Activity: 406
Merit: 251


http://altoidnerd.com


View Profile WWW
July 18, 2014, 07:20:12 AM
Last edit: July 18, 2014, 07:44:15 AM by Altoidnerd
 #1

Using the newest release of QT, I created a collection address for a friend in need tonight and would like to earmark all of the coins that go into said address for her as a relief/charity what have you.

I quickly realized I wish I had done this with a new wallet.  But I had already started the social media with the address and now I have to just man up.

So... until I fix this, I don't really want to use the client to generate my own personal transactions as it will confuse things greatly.  Make sense what I'm saying?  I need to get her address away from my personal funds so that I am not making change with that address, etc.

Do you even mine?
http://altoidnerd.com 
12gKRdrz7yy7erg5apUvSRGemypTUvBRuJ
Altoidnerd (OP)
Sr. Member
****
Offline Offline

Activity: 406
Merit: 251


http://altoidnerd.com


View Profile WWW
July 18, 2014, 08:12:19 AM
 #2

Ive become aware of two possible solutions - removing the address with pywallet, and a new core feature called coin control.  Never used either.

Do you even mine?
http://altoidnerd.com 
12gKRdrz7yy7erg5apUvSRGemypTUvBRuJ
DannyHamilton
Legendary
*
Offline Offline

Activity: 3514
Merit: 4894



View Profile
July 18, 2014, 08:37:08 AM
 #3

There is an additional option.

Make sure that you have a good backup of your current wallet, just in case you mess up on any of these steps.

Use dumpprivkey to get the private keys of all the addresses from the wallet that you want to keep for yourself.

Then you can use dumpprivkey to get the private key of your friend's address.

Then you can shut down Bitcoin Core and remove the wallet.dat file from the computer (but only if you're absolutely certain that you've got a good backup elsewhere).

When you start Bitcoin Core up again, it will create a brand new wallet.

You can use importprivkey to import your friend's address into this wallet.

Then you can shut down Bitcoin Core, and store a good backup of your friend's wallet.dat somewhere.

Once you are sure that you've got a good backup of your friend's wallet.dat, you can remove the wallet.dat from the bitcoin data directory, and start up Bitcoin Core again.

Once again you'll have a brand new wallet.  Import the private keys from all of your addresses that you wanted to keep, and now you have two wallets.  One with your friend's new address, and one with all of your other addresses.
Altoidnerd (OP)
Sr. Member
****
Offline Offline

Activity: 406
Merit: 251


http://altoidnerd.com


View Profile WWW
July 19, 2014, 06:38:08 AM
 #4

This dirty hack is good.

Do you even mine?
http://altoidnerd.com 
12gKRdrz7yy7erg5apUvSRGemypTUvBRuJ
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!