-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add 'pcli migrate balance' explainer
Adds a short explainer for how the `pcli migrate balance` functionality works. Refs: * penumbra-zone/penumbra#4831 * penumbra-zone/penumbra#4849
- Loading branch information
Showing
2 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Migrating wallets | ||
|
||
In order to transfer all assets in your wallet to a new wallet, | ||
first [generate a new wallet](wallet.md). After doing so, inspect the generated `config.toml` | ||
file for the `full_viewing_key` (FVK) field. You'll need this value to designate | ||
the new wallet, to which funds will be transferred. | ||
|
||
Then, run the migrate balance command from the first wallet, the one you want to empty of funds: | ||
|
||
```bash | ||
pcli migrate balance | ||
``` | ||
|
||
That command will prompt for the FVK of the destination wallet. | ||
Paste in the FVK, and hit enter to build and submit the transaction. | ||
After sending, the source wallet should be completely empty, and the destination wallet | ||
should have all assets, minus any gas fees that were paid for the transaction. | ||
Assets will be preserved in their numbered accounts across source and destination wallets. |