AgentSkillsCN

vultisig-cli

MPC 钱包 CLI,支持跨 36+ 条区块链的安全多链加密操作。当用户希望创建 MPC 钱包、发送加密货币、跨链兑换代币、查询余额、签署交易,或管理多重签名金库时,此工具将大显身手。支持比特币、以太坊、Solana 以及其他 33+ 条区块链,并采用阈值签名的安全机制。

SKILL.md
--- frontmatter
name: vultisig-cli
description: MPC wallet CLI for secure multi-chain crypto operations across 36+ blockchains. Use when the user wants to create MPC wallets, send crypto, swap tokens cross-chain, check balances, sign transactions, or manage multi-signature vaults. Supports Bitcoin, Ethereum, Solana, and 33+ other chains with threshold signing security.
version: 1.0.0
author: Vultisig
repository: https://github.com/vultisig/vultisig-sdk
metadata:
  openclaw:
    emoji: "🔐"
    homepage: https://github.com/vultisig/vultisig-sdk
    requires:
      bins:
        - vultisig
    install:
      npm: "@vultisig/cli"
tags:
  - crypto
  - wallet
  - mpc
  - cli
  - defi
  - bitcoin
  - ethereum
  - solana

Vultisig CLI

Command-line interface for Vultisig MPC wallet operations. See the router skill for an overview of MPC benefits and to choose between CLI and SDK.

Installation

bash
npm install -g @vultisig/cli
vultisig --version

Or run without installing:

bash
npx @vultisig/cli balance ethereum

Security Considerations

CRITICAL: Read before executing any commands

  1. Never store passwords in scripts, logs, or environment variables visible to others
  2. Use --password flag only in secure, ephemeral contexts
  3. Always verify recipient addresses - transactions are irreversible
  4. Export backups before destructive operations - use vultisig export
  5. Use -o json for automation - structured output prevents parsing errors

Vault Types

TypeThresholdSigningBest For
FastVault2-of-2 (device + server)Instant, server-assistedAI agents, automation, bots
SecureVaultN-of-M (configurable)Multi-device coordinationTeams, high-value assets

For AI agents, FastVault is recommended - it enables instant signing without multi-device coordination.

See references/vault-types.md for detailed comparison.

Quick Start

1. Create a FastVault

bash
vultisig create fast --name "agent-wallet" --email "agent@example.com" --password "SecurePass123!"
# Enter email verification code when prompted

2. Get Addresses

bash
vultisig addresses -o json

3. Check Balance

bash
vultisig balance ethereum -o json
vultisig balance --tokens -o json  # Include ERC-20 tokens

4. Send Transaction

bash
vultisig send ethereum 0xRecipient... 0.1 --password "SecurePass123!" -y -o json

5. Swap Tokens

bash
vultisig swap-quote ethereum bitcoin 0.1 -o json
vultisig swap ethereum bitcoin 0.1 --password "SecurePass123!" -y -o json

Core Commands

Vault Management

CommandDescription
create fast --name --email --passwordCreate FastVault (server-assisted 2-of-2)
create secure --name --shares NCreate SecureVault (multi-device N-of-M)
vaults -o jsonList all vaults
switch <vaultId>Switch active vault
info -o jsonShow vault details
import <file.vult>Import vault from backup
export [path]Export vault backup
delete [vault] -yDelete vault
verify <vaultId>Verify with email code

Wallet Operations

CommandDescription
addresses -o jsonGet all addresses
balance [chain] -o jsonGet balance (optional: specific chain)
balance --tokens -o jsonInclude token balances
portfolio -o jsonTotal portfolio value in fiat
send <chain> <to> <amount>Send native token
send <chain> <to> <amount> --token <addr>Send ERC-20 token

Swap Operations

CommandDescription
swap-chainsList chains supporting swaps
swap-quote <from> <to> <amount>Get swap quote
swap <from> <to> <amount>Execute swap

Chain & Token Management

CommandDescription
chainsList active chains
chains --add SolanaEnable a chain
chains --add-allEnable all 36+ chains
chains --remove LitecoinDisable a chain
tokens <chain>List tokens on chain
tokens <chain> --add <contract>Add custom token

Advanced Operations

CommandDescription
sign --chain <chain> --bytes <base64>Sign pre-hashed bytes
broadcast --chain <chain> --raw-tx <hex>Broadcast raw transaction

JSON Output Mode

Always use -o json for AI agent automation. This provides structured, parseable output:

bash
# Balance
vultisig balance ethereum -o json
# {"chain":"ethereum","balance":{"native":"1.5","symbol":"ETH","usdValue":"3750.00"}}

# Send transaction
vultisig send ethereum 0x... 0.1 -y --password "pass" -o json
# {"txHash":"0x...","chain":"ethereum","explorerUrl":"https://etherscan.io/tx/0x..."}

# Vault info
vultisig info -o json
# {"vault":{"id":"...","name":"...","type":"fast","chains":[...]}}

Common Workflows

Workflow: First-Time Setup

bash
# 1. Create vault
vultisig create fast --name "agent-wallet" --email "agent@example.com" --password "SecurePass123!"
# Enter verification code

# 2. Enable desired chains
vultisig chains --add-all

# 3. Get addresses
vultisig addresses -o json

# 4. Check balances
vultisig balance -o json

Workflow: Send Crypto

bash
# 1. Check balance
BALANCE=$(vultisig balance ethereum -o json | jq -r '.balance.native')

# 2. Verify sufficient funds
if (( $(echo "$BALANCE > 0.1" | bc -l) )); then
  # 3. Send
  vultisig send ethereum 0xRecipient... 0.1 --password "$VAULT_PASSWORD" -y -o json
fi

Workflow: Cross-Chain Swap

bash
# 1. Get quote
QUOTE=$(vultisig swap-quote ethereum bitcoin 0.1 -o json)
echo "Expected output: $(echo $QUOTE | jq -r '.expectedOutput') BTC"

# 2. Execute swap
vultisig swap ethereum bitcoin 0.1 --password "$VAULT_PASSWORD" -y -o json

Workflow: Backup Vault

bash
# Export encrypted backup
vultisig export /backups/ --password "$VAULT_PASSWORD"

Environment Variables

bash
VULTISIG_VAULT="my-wallet"       # Pre-select vault by name/ID
VAULT_PASSWORD="password"         # Vault password (use with caution)
VULTISIG_SILENT=1                # Suppress spinners/info messages
VULTISIG_NO_COLOR=1              # Disable colored output

Error Handling

Exit CodeMeaning
0Success
1General error
2Invalid usage
4Authentication error
5Network error
6Vault error
7Transaction error

See references/errors.md for common errors and solutions.

Supported Chains

36+ blockchains including:

  • EVM: Ethereum, Polygon, Arbitrum, Optimism, BSC, Base, Avalanche, Blast, Cronos, ZkSync, Hyperliquid, Mantle, Sei
  • UTXO: Bitcoin, Litecoin, Dogecoin, Bitcoin Cash, Dash, Zcash
  • Cosmos: Cosmos, THORChain, MayaChain, Osmosis, Dydx, Kujira, Terra, Noble, Akash
  • Other: Solana, Sui, Polkadot, TON, Ripple, Tron, Cardano

See references/chains.md for full list with details.

Resources