Bitcoin Forum
December 07, 2016, 02:52:25 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: how do i make a new wallet?  (Read 3873 times)
stryker
Full Member
***
Offline Offline

Activity: 232


View Profile
August 04, 2011, 09:20:46 AM
 #1

do i just move the old wallet file to make the bitcoin client create a new wallet?

ok i could just try but i want to know for sure as dont want to loose my 4 btc :-)

The reason for this is I want a fresh wallet to transfer my btc to which i know is secure and has not been backed up anywhere without encryption.

Ta
1481122345
Hero Member
*
Offline Offline

Posts: 1481122345

View Profile Personal Message (Offline)

Ignore
1481122345
Reply with quote  #2

1481122345
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481122345
Hero Member
*
Offline Offline

Posts: 1481122345

View Profile Personal Message (Offline)

Ignore
1481122345
Reply with quote  #2

1481122345
Report to moderator
1481122345
Hero Member
*
Offline Offline

Posts: 1481122345

View Profile Personal Message (Offline)

Ignore
1481122345
Reply with quote  #2

1481122345
Report to moderator
wumpus
Hero Member
*****
Offline Offline

Activity: 798

No Maps for These Territories


View Profile
August 04, 2011, 10:13:36 AM
 #2

Easiest is to supply the -datadir=... argument and point it at a different place. You can also move around wallet.dat files, but that can be dangerous if you get it wrong.


Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
stryker
Full Member
***
Offline Offline

Activity: 232


View Profile
August 04, 2011, 10:31:29 AM
 #3

i thought of the datadir idea, but that means it will have to re-aquire the block chain which is slow even when done from my own bitcoin server on my network.... still if its the safest way then thats what i will do.

thanks
jackjack
Hero Member
*****
Online Online

Activity: 882


May Bitcoin be touched by his Noodly Appendage


View Profile
August 04, 2011, 10:47:13 AM
 #4

If bitcoin is not running, renaming your wallet is absolutely not dangerous and does not create new files to delete

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
deepceleron
Legendary
*
Offline Offline

Activity: 1470



View Profile WWW
August 04, 2011, 10:56:37 AM
 #5

To move all your BTC to a new wallet with one computer:

A. Backup and remove original wallet:
 1. Close bitcoin, verify it's not running.
 2. Have lots of backups, such as making a 7-zip of the whole bitcoin data directory.
 3. Move your existing wallet.dat out of the bitcoin data directory to a new location bitcoin/wallet1.

B. Create a new blank wallet:
 1. Restart bitcoin, it will think for a while and silently create a new wallet without complaining that your old one is missing.
 2. Record the first bitcoin address of the new wallet (notepad cut and paste, etc)

C. Send old coins to new address:
 1. Close bitcoin, verify it's not running.
 2. Move the new empty wallet.dat to a new location bitcoin/wallet2.
 3. Copy the original wallet back from bitcoin/wallet1 to the main bitcoin directory
 4. Launch bitcoin, send your new address a small amount of test coins (.01 BTC + fee).
 5. Close bitcoin, and re-backup your old wallet to bitcoin/wallet1 (not always necessary, but best practice, since you could have exhausted your private key pool and sending could have created a new one.)

D. Verify they got there:
 1. Copy the new wallet from bitcoin/wallet2 to the main bitcoin directory
 2. Launch bitcoin
 3. See that your test transfer appears after a few blocks and it gets eventually confirmed.

Repeat C and D for all your bitcoins, shred all old backup files to avoid confusion and backup your new wallet.dat encrypted. If you send money and it doesn't show up right in the new wallet using this technique, you can run bitcoin -rescan to rescan the blockchain for missing transactions; that's only a local problem though, the bitcoin network knows the new address got the bitcoins sent to it.

stryker
Full Member
***
Offline Offline

Activity: 232


View Profile
August 05, 2011, 09:47:15 AM
 #6

excellent chaps thanks
deepceleron
Legendary
*
Offline Offline

Activity: 1470



View Profile WWW
August 05, 2011, 08:36:14 PM
 #7

excellent chaps thanks


Here are your excellent chaps then:


Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!