Created
January 13, 2017 01:30
-
-
Save bitgord/1b545a9dae8257967519c35f9be28cc6 to your computer and use it in GitHub Desktop.
An overview of wallets in bitcoind with bitcoin-cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This walkthrough assumes you have successfully downloaded bitcoind and connected to bitcoind daemon | |
// First we create a wallet backup file and then restore the wallet from the backup file | |
// Use the backupwallet command to back up your wallet with the filename as the parameter | |
// Here the wallet is backed up to the file wallet.backup | |
bitcoin-cli backupwallet wallet.backup | |
// Now you can import the backup file | |
bitcoin-cli importwallet wallet.backup | |
// You can convert the wallet into a text file that is human readable | |
// you need to first decrypt your wallet using the decryptwallet function | |
bitcoin-cli dumpwallet wallet.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment