一键导入
cardano-cli-wallets
"Wallet guidance: key generation, address building, UTxO queries. Provides templates and explanations (no execution)."
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
"Wallet guidance: key generation, address building, UTxO queries. Provides templates and explanations (no execution)."
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Read-only wallet state via cardano MCP: balances, addresses, and UTxOs. Requires a configured cardano MCP server.
Retrieve ADAHandle identities ($handle) for the connected wallet via cardano MCP. Read-only.
Query staking delegation status and available rewards via cardano MCP. Read-only, no delegation changes.
Sign and submit pre-built Cardano transactions via cardano MCP. High-risk: requires structured preview and explicit user confirmation.
"Aiken workflows: validators, building, blueprints, .plutus generation. Safe guidance for smart contract development."
"Diagnose cardano-cli: version, era-prefixed vs legacy syntax, network flags. Produces compatibility report."
| 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 |
| metadata | {"openclaw":{"emoji":"🧰","requires":{"anyBins":["cardano-cli","docker"]},"install":[{"id":"brew","kind":"brew","formula":"colima docker docker-compose curl","bins":["colima","docker","docker-compose","curl"],"label":"Install Docker runtime (Colima) + Docker CLI + Compose + curl (brew)","os":["darwin","linux"]}]}} |
This is a guidance skill. It provides templates and explanations but does not execute commands. For execution, use
cardano-cli-wallets-operator.
If cardano-cli is not installed locally, use the wrapper script in this skill folder to run cardano-cli inside Docker (the Cardano node container images include the CLI).
chmod +x {baseDir}/scripts/cardano-cli.sh
{baseDir}/scripts/cardano-cli.sh version
Notes:
/work so files like pparams.json, tx.body, datum.json work normally.CARDANO_NODE_SOCKET_PATH before running so query commands work.CARDANO_DOCKER_IMAGE=ghcr.io/intersectmbo/cardano-node:<tag>.Identify network
Provide key generation template
# Create wallet directory
mkdir -p wallet && cd wallet
# Generate payment keys
cardano-cli conway address key-gen \
--verification-key-file payment.vkey \
--signing-key-file payment.skey
# Generate stake keys
cardano-cli conway stake-address key-gen \
--verification-key-file stake.vkey \
--signing-key-file stake.skey
# Secure keys
chmod 600 *.skey
Provide address building template
# Build base address (payment + stake)
cardano-cli conway address build \
--payment-verification-key-file payment.vkey \
--stake-verification-key-file stake.vkey \
--out-file base.addr \
--testnet-magic 1 # or --mainnet
# Build enterprise address (payment only)
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
User request: "Create a wallet for preprod testing"
Response:
# === Preprod Wallet Setup ===
# 1. Create directory
mkdir -p ~/cardano/preprod-wallet && cd ~/cardano/preprod-wallet
# 2. Generate payment keypair
cardano-cli conway address key-gen \
--verification-key-file payment.vkey \
--signing-key-file payment.skey
# 3. Generate stake keypair
cardano-cli conway stake-address key-gen \
--verification-key-file stake.vkey \
--signing-key-file stake.skey
# 4. Build base address
cardano-cli conway address build \
--payment-verification-key-file payment.vkey \
--stake-verification-key-file stake.vkey \
--out-file base.addr \
--testnet-magic 1
# 5. Secure keys
chmod 600 *.skey
# 6. Display address for funding
echo "Fund this address from faucet:"
cat base.addr
# 7. Verify (after funding)
cardano-cli conway query utxo \
--address $(cat base.addr) \
--testnet-magic 1
.skey contents into chatchmod 600 *.skeyshared/PRINCIPLES.md (repo)