# Send Kaspa Wallet to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "kaspa",
    "name": "Kaspa Wallet",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Manyfestation/kaspa",
    "canonicalUrl": "https://clawhub.ai/Manyfestation/kaspa",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/kaspa",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kaspa",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "requirements.txt",
      "kaswallet.sh",
      "README.md",
      "SKILL.md",
      "install.py",
      "scripts/kaswallet.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "kaspa",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T16:23:59.918Z",
      "expiresAt": "2026-05-11T16:23:59.918Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kaspa",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kaspa",
        "contentDisposition": "attachment; filename=\"kaspa-1.0.11.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "kaspa"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/kaspa"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/kaspa",
    "downloadUrl": "https://openagent3.xyz/downloads/kaspa",
    "agentUrl": "https://openagent3.xyz/skills/kaspa/agent",
    "manifestUrl": "https://openagent3.xyz/skills/kaspa/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/kaspa/agent.md"
  }
}
```
## Documentation

### Kaspa Wallet Skill

Simple self-custody wallet for Kaspa blockchain.

### Overview

┌─────────────────────────────────────────────────────────┐
│                     KASPA WALLET                        │
├─────────────────────────────────────────────────────────┤
│  ┌─────────────┐  ┌─────────────┐  ┌─────────────────┐ │
│  │   Balance   │  │    Send     │  │  Payment URIs   │ │
│  │   Check     │  │    KAS      │  │   Generator     │ │
│  └─────────────┘  └─────────────┘  └─────────────────┘ │
│           │                │                   │        │
│           └────────────────┴───────────────────┘        │
│                         │                               │
│              ┌──────────▼──────────┐                    │
│              │   Kaspa Python SDK  │                    │
│              │   (wRPC Client)     │                    │
│              └─────────────────────┘                    │
│                         │                               │
│         ┌───────────────┼───────────────┐               │
│         ▼               ▼               ▼               │
│    ┌─────────┐    ┌──────────┐    ┌──────────┐         │
│    │ Mainnet │    │ Testnet  │    │  Custom  │         │
│    │  wRPC   │    │   wRPC   │    │   RPC    │         │
│    └─────────┘    └──────────┘    └──────────┘         │
└─────────────────────────────────────────────────────────┘

### Features

FeatureDescriptionSend KASTransfer KAS to any Kaspa addressBalance CheckCheck balance of any addressPayment URIsGenerate kaspa: payment request URIsFee EstimatesGet current network fee tiersNetwork InfoCheck node sync status and blocksWallet GenerationGenerate new mnemonic phrases

### Installation

python3 install.py

Requirements: Python 3.8+ with pip. Works on macOS, Linux, Windows.

Troubleshooting install:

If pip fails: pip install kaspa manually, or try KASPA_PYTHON=python3.12 python3 install.py
If venv missing: sudo apt install python3-venv (Ubuntu/Debian)
To reinstall: rm -rf .venv && python3 install.py

### CLI Usage

# Check balance
./kaswallet.sh balance
./kaswallet.sh balance kaspa:qrc8y...

# Send payment
./kaswallet.sh send kaspa:qrc8y... 0.5
./kaswallet.sh send kaspa:qrc8y... max

# Generate payment URI
./kaswallet.sh uri kaspa:q... 1.5 "coffee payment"

# Network info
./kaswallet.sh info

# Fee estimates
./kaswallet.sh fees

# Generate new wallet
./kaswallet.sh generate-mnemonic

### Architecture

kaspa-wallet/
├── SKILL.md
├── README.md
├── install.py              # Auto-installer with venv
├── kaswallet.sh            # CLI wrapper script
├── requirements.txt
└── scripts/
    └── kaswallet.py        # Main wallet logic

### Configuration

# Environment variables (one required)
export KASPA_PRIVATE_KEY="64-character-hex-string"
# OR
export KASPA_MNEMONIC="your twelve or twenty four word seed phrase"

# Optional
export KASPA_NETWORK="mainnet"              # mainnet (default), testnet-10
export KASPA_RPC_URL="wss://..."            # Custom RPC endpoint
export KASPA_RPC_CONNECT_TIMEOUT_MS="30000" # Connection timeout (default: 15000)

### Check Balance

./kaswallet.sh balance                    # Your wallet balance
./kaswallet.sh balance kaspa:qrc8y...     # Any address balance

Output:

{"address": "kaspa:q...", "balance": "1.5", "sompi": "150000000", "network": "mainnet"}

### Send KAS

./kaswallet.sh send <address> <amount>           # Send specific amount
./kaswallet.sh send <address> max                # Send entire balance
./kaswallet.sh send <address> <amount> priority  # Priority fee tier

Output (success):

{"status": "sent", "txid": "abc123...", "from": "kaspa:q...", "to": "kaspa:q...", "amount": "0.5", "fee": "0.0002"}

Output (error):

{"error": "Storage mass exceeds maximum", "errorCode": "STORAGE_MASS_EXCEEDED", "hint": "...", "action": "consolidate_utxos"}

### Network Info

./kaswallet.sh info

Output:

{"network": "mainnet", "url": "wss://...", "blocks": 12345678, "synced": true, "version": "1.0.0"}

### Fee Estimates

./kaswallet.sh fees

Output:

{"network": "mainnet", "low": {"feerate": 1.0, "estimatedSeconds": 60}, "economic": {...}, "priority": {...}}

### Generate New Wallet

./kaswallet.sh generate-mnemonic

Output:

{"mnemonic": "word1 word2 word3 ... word24"}

### Payment URI

./kaswallet.sh uri                          # Your address
./kaswallet.sh uri kaspa:q... 1.5 "payment" # With amount and message

### Error Handling

ErrorCauseSolutionSTORAGE_MASS_EXCEEDEDAmount too small for current UTXOsSend max to yourself first to consolidateNO_UTXOSNo spendable outputsWait for confirmations or fund walletINSUFFICIENT_FUNDSBalance too lowCheck balance, reduce amountRPC_TIMEOUTNetwork slowRetry or increase timeoutNO_CREDENTIALSMissing wallet keySet KASPA_PRIVATE_KEY or KASPA_MNEMONICSDK_NOT_INSTALLEDKaspa SDK missingRun python3 install.py

### Payment Flow

┌─────────────┐     ┌─────────────┐     ┌─────────────┐
│   Sender    │     │ Kaspa Wallet│     │  Recipient  │
└──────┬──────┘     └──────┬──────┘     └──────┬──────┘
       │                   │                   │
       │  1. Initiate      │                   │
       │──────────────────▶│                   │
       │                   │                   │
       │                   │  2. Execute       │
       │                   │  KAS Transfer     │
       │                   │─────────────────▶│
       │                   │                   │
       │                   │  3. Confirm       │
       │                   │◀──────────────────│
       │  4. Success       │                   │
       │◀──────────────────│                   │
       │                   │                   │

### Consolidate UTXOs (Fix Storage Mass Error)

When sending fails with STORAGE_MASS_EXCEEDED:

# 1. Get your address
./kaswallet.sh balance
# Returns: {"address": "kaspa:qYOUR_ADDRESS...", ...}

# 2. Send max to yourself (consolidates UTXOs)
./kaswallet.sh send kaspa:qYOUR_ADDRESS... max

# 3. Now send the original amount (will work)
./kaswallet.sh send kaspa:qRECIPIENT... 0.5

### Check Transaction Status

After sending, use the txid to verify on a block explorer:

Mainnet: https://explorer.kaspa.org/txs/{txid}
Testnet: https://explorer-tn10.kaspa.org/txs/{txid}

### Switch Networks

# Testnet
export KASPA_NETWORK="testnet-10"
./kaswallet.sh info

# Back to mainnet
export KASPA_NETWORK="mainnet"
./kaswallet.sh info

### Units

KAS: Human-readable unit (e.g., 1.5 KAS)
sompi: Smallest unit, 1 KAS = 100,000,000 sompi

All command inputs accept KAS. Outputs include both KAS and sompi where relevant.

### Security Notes

Private keys: Never expose in logs or error messages
Mnemonics: Passed via environment variables only
No disk storage: Wallet does not store credentials
Fresh connections: Each command establishes new RPC connection
Address format: Validate Kaspa addresses (kaspa:q... format)

### Comparison with Traditional Wallets

FeatureTraditional WalletKaspa Wallet CLISetupGUI installpython3 install.pyInterfaceDesktop appCLI + JSON outputAutomationLimitedFull (JSON parsing)CustodyVariesSelf-custodyAgent-friendlyNoYes

### Roadmap

QR code generation for addresses
 Payment links
 Transaction history
 Multi-address support
 Batch payments
 Telegram bot integration

### Resources

Kaspa Docs
Kaspa Explorer
kaspa-py SDK
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Manyfestation
- Version: 1.0.11
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-04T16:23:59.918Z
- Expires at: 2026-05-11T16:23:59.918Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/kaspa)
- [Send to Agent page](https://openagent3.xyz/skills/kaspa/agent)
- [JSON manifest](https://openagent3.xyz/skills/kaspa/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/kaspa/agent.md)
- [Download page](https://openagent3.xyz/downloads/kaspa)