nunchuk-wallet-management
Nunchuk Wallet Management
If auth or network setup is the blocker, use nunchuk-setup.
If the user asks about Platform key inspection or policy updates on an existing wallet, use nunchuk-platform-key.
Inspect
List wallets:
nunchuk wallet list
List wallets without balance lookup (faster, does not require internet):
nunchuk wallet list --no-balance
Get wallet details:
nunchuk wallet get <wallet-id>
nunchuk wallet get <wallet-id> --no-balance
Get a fresh receive address:
nunchuk wallet address get <wallet-id>
Export and Recover
Export backup material:
nunchuk wallet export <wallet-id>
Export descriptor only:
nunchuk wallet export <wallet-id> --type descriptor
Export descriptor in all format:
nunchuk wallet export <wallet-id> --type descriptor --format all
Export BSMS only:
nunchuk wallet export <wallet-id> --type bsms
Save export output to a file:
nunchuk wallet export <wallet-id> > wallet-backup.txt
nunchuk wallet export <wallet-id> --type bsms > wallet-backup.bsms
Recover from a backup file:
nunchuk wallet recover --file wallet-backup.bsms
Recover from a descriptor with a custom name:
nunchuk wallet recover --file descriptor.txt --name "Recovered Wallet"
Rename and Delete
Rename a wallet:
nunchuk wallet rename <wallet-id> --name "My Wallet"
Delete a wallet:
nunchuk wallet delete <wallet-id>
Dummy Transactions
Currently dummy transactions are used to approve Platform key policy changes.
They are built as dummy PSBTs that use a dummy input and send back to the same wallet. They are only for collecting the required wallet signatures for approval, and they cannot be broadcast to the blockchain.
List pending dummy transactions:
nunchuk wallet dummy-tx list <wallet-id>
Get one dummy transaction:
nunchuk wallet dummy-tx get <wallet-id> --dummy-tx-id <id>
Sign a dummy transaction:
nunchuk wallet dummy-tx sign <wallet-id> --dummy-tx-id <id>
Cancel a dummy transaction:
nunchuk wallet dummy-tx cancel <wallet-id> --dummy-tx-id <id>
Defaults
- Prefer
wallet export <wallet-id>with default options unless the user asked for a specific backup format. - Use
--jsonwhen the user needs exact machine-readable output. - Use
--no-balancefor faster local wallet lookup without Electrum balance fetch. - Treat
wallet deleteas destructive and only run it when the user clearly asked for removal.
Gotchas
wallet exportdefaults to descriptor export.wallet exportsupports--type descriptorand--type bsms.--formatonly applies to descriptor export.- Export output is raw content, so redirect it to a file when the user wants a backup file.
wallet recoveraccepts a descriptor file or a BSMS 1.0 backup file.wallet dummy-tx getshows the request type, old state, new state, and signature progress.wallet dummy-tx signcan use auto-detected stored keys,--fingerprint, or--xprv.- If the recovered wallet already exists locally, the command returns
already_existsinstead of overwriting it. wallet deletedeletes the wallet from the server and removes the local copy.
More from nunchuk-io/agent-skills
nunchuk-setup
Install Nunchuk CLI, authenticate, switch between mainnet and testnet, change Electrum server, and inspect saved config. Use when a command needs login, network, or Electrum setup, or when the user asks to check current auth or config.
11nunchuk-wallet-creation
Create Nunchuk Bitcoin wallets, add keys, and finalize them. Use when the user wants to create a wallet.
11nunchuk-wallet-transactions
Create, sign, inspect, list, and broadcast Bitcoin transactions. Use when the user wants to send funds, sign a transaction, broadcast it, or inspect wallet transaction history.
11nunchuk-invitations
Send, review, accept, and deny Nunchuk wallet invitations during wallet setup. Use when the user wants to invite others, check whether they were invited, or respond to an invitation.
10nunchuk-platform-key
Enable, inspect, disable, and update Nunchuk Platform key policies for wallets. Use when the user asks about Platform key, spending limits, signing delay, auto-broadcast, or policy updates.
10nunchuk-coldcard-hsm
Use Coldcard with Nunchuk, add a Coldcard key, review or create HSM policies, create or authorize HSM users, validate or start HSM mode, and sign PSBTs with Coldcard. Use when the user wants to use Coldcard with Nunchuk, add a Coldcard key to a wallet, or asks about HSM mode.
3