| name | cardano-cli-wallets |
| description | Wallet guidance: key generation, address building, UTxO queries. Provides templates and explanations (no execution). |
| allowed-tools | ["Read"] |
| user-invocable | true |
cardano-cli-wallets
This is a guidance skill. It provides templates and explanations but does
not execute commands. For execution, use cardano-cli-wallets-operator.
When to use
- Learning how to create payment/stake keys and addresses
- Understanding wallet structure and UTxO model
- Getting copy-paste command templates
Operating rules (must follow)
- Confirm network (mainnet vs preprod/preview) before providing commands
- Never execute commands—only provide templates
- Include verification steps in every template
- Keep secrets out of examples
Workflow
-
Identify network
- Ask for mainnet or preprod/preview and magic number
- Determine CLI style (era-prefixed vs legacy) via doctor
-
Provide key generation template
mkdir -p wallet && cd wallet
cardano-cli conway address key-gen \
--verification-key-file payment.vkey \
--signing-key-file payment.skey
cardano-cli conway stake-address key-gen \
--verification-key-file stake.vkey \
--signing-key-file stake.skey
chmod 600 *.skey
-
Provide address building template
cardano-cli conway address build \
--payment-verification-key-file payment.vkey \
--stake-verification-key-file stake.vkey \
--out-file base.addr \
--testnet-magic 1
cardano-cli conway address build \
--payment-verification-key-file payment.vkey \
--out-file enterprise.addr \
--testnet-magic 1
-
Provide UTxO query template
cardano-cli conway query utxo \
--address $(cat base.addr) \
--testnet-magic 1
-
Wallet dossier output format
=== Wallet Dossier ===
Network: preprod (magic 1)
Base Address: addr_test1...
Enterprise Address: addr_test1...
Payment VKey Hash: abc123...
Stake VKey Hash: def456...
Files: payment.vkey, payment.skey, stake.vkey, stake.skey
Examples
Example: Create preprod wallet
User request: "Create a wallet for preprod testing"
Response:
mkdir -p ~/cardano/preprod-wallet && cd ~/cardano/preprod-wallet
cardano-cli conway address key-gen \
--verification-key-file payment.vkey \
--signing-key-file payment.skey
cardano-cli conway stake-address key-gen \
--verification-key-file stake.vkey \
--signing-key-file stake.skey
cardano-cli conway address build \
--payment-verification-key-file payment.vkey \
--stake-verification-key-file stake.vkey \
--out-file base.addr \
--testnet-magic 1
chmod 600 *.skey
echo "Fund this address from faucet:"
cat base.addr
cardano-cli conway query utxo \
--address $(cat base.addr) \
--testnet-magic 1
Safety / key handling
- Never paste
.skey contents into chat
- Prefer offline key generation for real funds
- Lock permissions:
chmod 600 *.skey
- Avoid cloud sync for key directories
References