{
  "schemaVersion": "1.0",
  "item": {
    "slug": "kaspa-wallet",
    "name": "Kaspa Wallet",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/Manyfestation/kaspa-wallet",
    "canonicalUrl": "https://clawhub.ai/Manyfestation/kaspa-wallet",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/kaspa-wallet",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kaspa-wallet",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "requirements.txt",
      "kaswallet.sh",
      "README.md",
      "SKILL.md",
      "install.py",
      "scripts/kaswallet.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/kaspa-wallet"
    },
    "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/kaspa-wallet",
    "agentPageUrl": "https://openagent3.xyz/skills/kaspa-wallet/agent",
    "manifestUrl": "https://openagent3.xyz/skills/kaspa-wallet/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/kaspa-wallet/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Kaspa Wallet CLI",
        "body": "A standalone command-line wallet for the Kaspa blockchain network."
      },
      {
        "title": "Installation",
        "body": "python3 install.py\n\nRequirements: Python 3.8+ with pip. Works on macOS, Linux, Windows.\n\nTroubleshooting install:\n\nIf pip fails: pip install kaspa manually, or try KASPA_PYTHON=python3.12 python3 install.py\nIf venv missing: sudo apt install python3-venv (Ubuntu/Debian)\nTo reinstall: rm -rf .venv && python3 install.py"
      },
      {
        "title": "Environment Variables",
        "body": "Required (one of):\n\nexport KASPA_PRIVATE_KEY=\"64-character-hex-string\"\n# OR\nexport KASPA_MNEMONIC=\"your twelve or twenty four word seed phrase\"\n\nOptional:\n\nexport KASPA_NETWORK=\"mainnet\"              # mainnet (default), testnet-10\nexport KASPA_RPC_URL=\"wss://...\"            # Custom RPC endpoint\nexport KASPA_RPC_CONNECT_TIMEOUT_MS=\"30000\" # Connection timeout (default: 15000)"
      },
      {
        "title": "Commands",
        "body": "All commands output JSON. Exit code 0 = success, 1 = error."
      },
      {
        "title": "Check Balance",
        "body": "./kaswallet.sh balance                    # Your wallet balance\n./kaswallet.sh balance kaspa:qrc8y...     # Any address balance\n\nOutput:\n\n{\"address\": \"kaspa:q...\", \"balance\": \"1.5\", \"sompi\": \"150000000\", \"network\": \"mainnet\"}"
      },
      {
        "title": "Send KAS",
        "body": "./kaswallet.sh send <address> <amount>           # Send specific amount\n./kaswallet.sh send <address> max                # Send entire balance\n./kaswallet.sh send <address> <amount> priority  # Priority fee tier\n\nOutput (success):\n\n{\"status\": \"sent\", \"txid\": \"abc123...\", \"from\": \"kaspa:q...\", \"to\": \"kaspa:q...\", \"amount\": \"0.5\", \"fee\": \"0.0002\"}\n\nOutput (error):\n\n{\"error\": \"Storage mass exceeds maximum\", \"errorCode\": \"STORAGE_MASS_EXCEEDED\", \"hint\": \"...\", \"action\": \"consolidate_utxos\"}"
      },
      {
        "title": "Network Info",
        "body": "./kaswallet.sh info\n\nOutput:\n\n{\"network\": \"mainnet\", \"url\": \"wss://...\", \"blocks\": 12345678, \"synced\": true, \"version\": \"1.0.0\"}"
      },
      {
        "title": "Fee Estimates",
        "body": "./kaswallet.sh fees\n\nOutput:\n\n{\"network\": \"mainnet\", \"low\": {\"feerate\": 1.0, \"estimatedSeconds\": 60}, \"economic\": {...}, \"priority\": {...}}"
      },
      {
        "title": "Generate New Wallet",
        "body": "./kaswallet.sh generate-mnemonic\n\nOutput:\n\n{\"mnemonic\": \"word1 word2 word3 ... word24\"}"
      },
      {
        "title": "Payment URI",
        "body": "./kaswallet.sh uri                          # Your address\n./kaswallet.sh uri kaspa:q... 1.5 \"payment\" # With amount and message"
      },
      {
        "title": "Error Handling",
        "body": "All errors return JSON with structured information:\n\nerrorCodeMeaningResolutionSTORAGE_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"
      },
      {
        "title": "Consolidate UTXOs (Fix Storage Mass Error)",
        "body": "When sending fails with STORAGE_MASS_EXCEEDED:\n\n# 1. Get your address\n./kaswallet.sh balance\n# Returns: {\"address\": \"kaspa:qYOUR_ADDRESS...\", ...}\n\n# 2. Send max to yourself (consolidates UTXOs)\n./kaswallet.sh send kaspa:qYOUR_ADDRESS... max\n\n# 3. Now send the original amount (will work)\n./kaswallet.sh send kaspa:qRECIPIENT... 0.5"
      },
      {
        "title": "Check Transaction Status",
        "body": "After sending, use the txid to verify on a block explorer:\n\nMainnet: https://explorer.kaspa.org/txs/{txid}\nTestnet: https://explorer-tn10.kaspa.org/txs/{txid}"
      },
      {
        "title": "Switch Networks",
        "body": "# Testnet\nexport KASPA_NETWORK=\"testnet-10\"\n./kaswallet.sh info\n\n# Back to mainnet\nexport KASPA_NETWORK=\"mainnet\"\n./kaswallet.sh info"
      },
      {
        "title": "Units",
        "body": "KAS: Human-readable unit (e.g., 1.5 KAS)\nsompi: Smallest unit, 1 KAS = 100,000,000 sompi\n\nAll command inputs accept KAS. Outputs include both KAS and sompi where relevant."
      },
      {
        "title": "Security Notes",
        "body": "Private keys and mnemonics are passed via environment variables only\nNever log or expose these values\nThe wallet does not store credentials on disk\nEach command establishes a fresh RPC connection"
      },
      {
        "title": "Examples for Agents",
        "body": "# Check if wallet is configured and has funds\n./kaswallet.sh balance\n# Parse: if balance > 0, wallet is ready\n\n# Send payment with error handling\n./kaswallet.sh send kaspa:recipient... 1.0\n# If errorCode == \"STORAGE_MASS_EXCEEDED\":\n#   Run: ./kaswallet.sh send YOUR_ADDRESS max\n#   Then retry original send\n\n# Verify network connectivity\n./kaswallet.sh info\n# Check: synced == true before sending"
      }
    ],
    "body": "Kaspa Wallet CLI\n\nA standalone command-line wallet for the Kaspa blockchain network.\n\nInstallation\npython3 install.py\n\n\nRequirements: Python 3.8+ with pip. Works on macOS, Linux, Windows.\n\nTroubleshooting install:\n\nIf pip fails: pip install kaspa manually, or try KASPA_PYTHON=python3.12 python3 install.py\nIf venv missing: sudo apt install python3-venv (Ubuntu/Debian)\nTo reinstall: rm -rf .venv && python3 install.py\nEnvironment Variables\n\nRequired (one of):\n\nexport KASPA_PRIVATE_KEY=\"64-character-hex-string\"\n# OR\nexport KASPA_MNEMONIC=\"your twelve or twenty four word seed phrase\"\n\n\nOptional:\n\nexport KASPA_NETWORK=\"mainnet\"              # mainnet (default), testnet-10\nexport KASPA_RPC_URL=\"wss://...\"            # Custom RPC endpoint\nexport KASPA_RPC_CONNECT_TIMEOUT_MS=\"30000\" # Connection timeout (default: 15000)\n\nCommands\n\nAll commands output JSON. Exit code 0 = success, 1 = error.\n\nCheck Balance\n./kaswallet.sh balance                    # Your wallet balance\n./kaswallet.sh balance kaspa:qrc8y...     # Any address balance\n\n\nOutput:\n\n{\"address\": \"kaspa:q...\", \"balance\": \"1.5\", \"sompi\": \"150000000\", \"network\": \"mainnet\"}\n\nSend KAS\n./kaswallet.sh send <address> <amount>           # Send specific amount\n./kaswallet.sh send <address> max                # Send entire balance\n./kaswallet.sh send <address> <amount> priority  # Priority fee tier\n\n\nOutput (success):\n\n{\"status\": \"sent\", \"txid\": \"abc123...\", \"from\": \"kaspa:q...\", \"to\": \"kaspa:q...\", \"amount\": \"0.5\", \"fee\": \"0.0002\"}\n\n\nOutput (error):\n\n{\"error\": \"Storage mass exceeds maximum\", \"errorCode\": \"STORAGE_MASS_EXCEEDED\", \"hint\": \"...\", \"action\": \"consolidate_utxos\"}\n\nNetwork Info\n./kaswallet.sh info\n\n\nOutput:\n\n{\"network\": \"mainnet\", \"url\": \"wss://...\", \"blocks\": 12345678, \"synced\": true, \"version\": \"1.0.0\"}\n\nFee Estimates\n./kaswallet.sh fees\n\n\nOutput:\n\n{\"network\": \"mainnet\", \"low\": {\"feerate\": 1.0, \"estimatedSeconds\": 60}, \"economic\": {...}, \"priority\": {...}}\n\nGenerate New Wallet\n./kaswallet.sh generate-mnemonic\n\n\nOutput:\n\n{\"mnemonic\": \"word1 word2 word3 ... word24\"}\n\nPayment URI\n./kaswallet.sh uri                          # Your address\n./kaswallet.sh uri kaspa:q... 1.5 \"payment\" # With amount and message\n\nError Handling\n\nAll errors return JSON with structured information:\n\nerrorCode\tMeaning\tResolution\nSTORAGE_MASS_EXCEEDED\tAmount too small for current UTXOs\tSend max to yourself first to consolidate\nNO_UTXOS\tNo spendable outputs\tWait for confirmations or fund wallet\nINSUFFICIENT_FUNDS\tBalance too low\tCheck balance, reduce amount\nRPC_TIMEOUT\tNetwork slow\tRetry or increase timeout\nNO_CREDENTIALS\tMissing wallet key\tSet KASPA_PRIVATE_KEY or KASPA_MNEMONIC\nSDK_NOT_INSTALLED\tKaspa SDK missing\tRun python3 install.py\nCommon Workflows\nConsolidate UTXOs (Fix Storage Mass Error)\n\nWhen sending fails with STORAGE_MASS_EXCEEDED:\n\n# 1. Get your address\n./kaswallet.sh balance\n# Returns: {\"address\": \"kaspa:qYOUR_ADDRESS...\", ...}\n\n# 2. Send max to yourself (consolidates UTXOs)\n./kaswallet.sh send kaspa:qYOUR_ADDRESS... max\n\n# 3. Now send the original amount (will work)\n./kaswallet.sh send kaspa:qRECIPIENT... 0.5\n\nCheck Transaction Status\n\nAfter sending, use the txid to verify on a block explorer:\n\nMainnet: https://explorer.kaspa.org/txs/{txid}\nTestnet: https://explorer-tn10.kaspa.org/txs/{txid}\nSwitch Networks\n# Testnet\nexport KASPA_NETWORK=\"testnet-10\"\n./kaswallet.sh info\n\n# Back to mainnet\nexport KASPA_NETWORK=\"mainnet\"\n./kaswallet.sh info\n\nUnits\nKAS: Human-readable unit (e.g., 1.5 KAS)\nsompi: Smallest unit, 1 KAS = 100,000,000 sompi\n\nAll command inputs accept KAS. Outputs include both KAS and sompi where relevant.\n\nSecurity Notes\nPrivate keys and mnemonics are passed via environment variables only\nNever log or expose these values\nThe wallet does not store credentials on disk\nEach command establishes a fresh RPC connection\nExamples for Agents\n# Check if wallet is configured and has funds\n./kaswallet.sh balance\n# Parse: if balance > 0, wallet is ready\n\n# Send payment with error handling\n./kaswallet.sh send kaspa:recipient... 1.0\n# If errorCode == \"STORAGE_MASS_EXCEEDED\":\n#   Run: ./kaswallet.sh send YOUR_ADDRESS max\n#   Then retry original send\n\n# Verify network connectivity\n./kaswallet.sh info\n# Check: synced == true before sending"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Manyfestation/kaspa-wallet",
    "publisherUrl": "https://clawhub.ai/Manyfestation/kaspa-wallet",
    "owner": "Manyfestation",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/kaspa-wallet",
    "downloadUrl": "https://openagent3.xyz/downloads/kaspa-wallet",
    "agentUrl": "https://openagent3.xyz/skills/kaspa-wallet/agent",
    "manifestUrl": "https://openagent3.xyz/skills/kaspa-wallet/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/kaspa-wallet/agent.md"
  }
}