From 46fa5a32c58d5bc7a4cb67020b34983327d92ece Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sun, 15 Dec 2019 20:46:43 -0500 Subject: [PATCH] Update wallet backup docs --- doc/wallet-backup.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/wallet-backup.md b/doc/wallet-backup.md index 02454db72..ef48cea15 100644 --- a/doc/wallet-backup.md +++ b/doc/wallet-backup.md @@ -28,7 +28,7 @@ Note that zcashd will need to be stopped and restarted for edits in the config f To create a backup of your wallet, use: -`zcash-cli backupwallet `. +`hush-cli backupwallet `. The backup will be an exact copy of the current state of your wallet.dat file stored in the export directory you specified in the config file. The file path will also be returned. @@ -40,51 +40,51 @@ If your original `wallet.dat` file becomes inaccessible for whatever reason, you If you prefer to have an export of your private keys in human readable format, you can use: -`zcash-cli z_exportwallet ` +`hush-cli z_exportwallet ` This will generate a file in the export directory listing all transparent and shielded private keys with their associated public addresses. The file path will be returned in the command line. To import keys into a wallet which were previously exported to a file, use: -`zcash-cli z_importwallet ` +`hush-cli z_importwallet ` ### Using `z_exportkey`, `z_importkey`, `dumpprivkey` & `importprivkey` If you prefer to export a single private key for a shielded address, you can use: -`zcash-cli z_exportkey ` +`hush-cli z_exportkey ` This will return the private key and will not create a new file. For exporting a single private key for a transparent address, you can use the command inherited from Bitcoin: -`zcash-cli dumpprivkey ` +`hush-cli dumpprivkey ` This will return the private key and will not create a new file. To import a private key for a shielded address, use: -`zcash-cli z_importkey ` +`hush-cli z_importkey ` This will add the key to your wallet and rescan the wallet for associated transactions if it is not already part of the wallet. The rescanning process can take a few minutes for a new private key. To skip it, instead use: -`zcash-cli z_importkey no` +`hush-cli z_importkey no` For other instructions on fine-tuning the wallet rescan, see the command's help documentation: -`zcash-cli help z_importkey` +`hush-cli help z_importkey` To import a private key for a transparent address, use: -`zcash-cli importprivkey ` +`hush-cli importprivkey ` This has the same functionality as `z_importkey` but works with transparent addresses. See the command's help documentation for instructions on fine-tuning the wallet rescan: -`zcash-cli help importprivkey` +`hush-cli help importprivkey` ### Using `dumpwallet`