{
  "schemaVersion": "1.0",
  "item": {
    "slug": "onchain-test",
    "name": "Onchain Test",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/arein/onchain-test",
    "canonicalUrl": "https://clawhub.ai/arein/onchain-test",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/onchain-test",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=onchain-test",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md"
    ],
    "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-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.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/onchain-test"
    },
    "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/onchain-test",
    "agentPageUrl": "https://openagent3.xyz/skills/onchain-test/agent",
    "manifestUrl": "https://openagent3.xyz/skills/onchain-test/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/onchain-test/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": "Onchain CLI",
        "body": "CLI for crypto portfolio tracking, market data, and CEX history."
      },
      {
        "title": "Invocation",
        "body": "onchain <command>"
      },
      {
        "title": "Market Data",
        "body": "onchain price <token>         # Token price (btc, eth, sol, etc.)\nonchain markets               # Market overview with trending"
      },
      {
        "title": "Wallet Data",
        "body": "onchain balance [address]           # Token balances (auto-detects EVM/Solana)\nonchain balance --chain polygon     # Filter by chain\nonchain history [address]           # Transaction history\nonchain portfolio [address]         # Full portfolio with DeFi positions"
      },
      {
        "title": "CEX Data",
        "body": "onchain coinbase balance      # Coinbase balances\nonchain coinbase history      # Coinbase trade history\nonchain binance balance       # Binance balances\nonchain binance history       # Binance trade history"
      },
      {
        "title": "Prediction Markets",
        "body": "onchain polymarket trending          # Trending markets\nonchain polymarket search <query>    # Search markets\nonchain polymarket view <slug>       # View market details"
      },
      {
        "title": "Configuration",
        "body": "onchain setup                 # Interactive setup wizard\nonchain config                # View current config\nonchain config wallet add <name> <address>\nonchain config wallet set-default <name>"
      },
      {
        "title": "Global Options",
        "body": "--json - Output as JSON (agent-friendly)\n--plain - Disable colors and emoji\n--timeout <ms> - Request timeout"
      },
      {
        "title": "Configuration",
        "body": "Config file: ~/.config/onchain/config.json5"
      },
      {
        "title": "Required API Keys",
        "body": "FeatureAPI KeyGet KeyEVM walletsDEBANK_API_KEYDeBankSolana walletsHELIUS_API_KEYHeliusCoinbase CEXCOINBASE_API_KEY + COINBASE_API_SECRETCoinbaseBinance CEXBINANCE_API_KEY + BINANCE_API_SECRETBinance"
      },
      {
        "title": "Optional API Keys",
        "body": "FeatureAPI KeyNotesMarket dataCOINGECKO_API_KEYFree tier works, Pro for higher limitsMarket fallbackCOINMARKETCAP_API_KEYAlternative market data source"
      },
      {
        "title": "Get Bitcoin price",
        "body": "onchain price btc"
      },
      {
        "title": "Check wallet balance",
        "body": "onchain balance 0x1234...5678"
      },
      {
        "title": "View portfolio with DeFi positions",
        "body": "onchain portfolio main  # Uses saved wallet named \"main\""
      },
      {
        "title": "Get trending prediction markets",
        "body": "onchain polymarket trending -n 5"
      },
      {
        "title": "JSON output for scripts",
        "body": "onchain --json price eth | jq '.priceUsd'"
      },
      {
        "title": "EVM (via DeBank)",
        "body": "Ethereum, BNB Chain, Polygon, Arbitrum, Optimism, Avalanche, Base, zkSync Era, Linea, Scroll, Blast, Mantle, Gnosis, Fantom, Celo, and more."
      },
      {
        "title": "Solana (via Helius)",
        "body": "Full Solana mainnet support including SPL tokens and NFTs."
      },
      {
        "title": "Agent Integration",
        "body": "This CLI is designed for agent use. Key patterns:\n\nAlways use --json for programmatic access\nCheck exit codes - 0 for success, 1 for error\nUse saved wallets - Configure once with onchain setup, reference by name\nRate limiting - APIs have rate limits, add delays between rapid calls"
      },
      {
        "title": "Example Agent Usage",
        "body": "# Get portfolio value\nVALUE=$(onchain --json portfolio main | jq -r '.totalValueUsd')\n\n# Get price with change\nonchain --json price btc | jq '{price: .priceUsd, change24h: .priceChange24h}'\n\n# Check if market is bullish\nCHANGE=$(onchain --json markets | jq '.marketCapChange24h')"
      }
    ],
    "body": "Onchain CLI\n\nCLI for crypto portfolio tracking, market data, and CEX history.\n\nInvocation\nonchain <command>\n\nCommands\nMarket Data\nonchain price <token>         # Token price (btc, eth, sol, etc.)\nonchain markets               # Market overview with trending\n\nWallet Data\nonchain balance [address]           # Token balances (auto-detects EVM/Solana)\nonchain balance --chain polygon     # Filter by chain\nonchain history [address]           # Transaction history\nonchain portfolio [address]         # Full portfolio with DeFi positions\n\nCEX Data\nonchain coinbase balance      # Coinbase balances\nonchain coinbase history      # Coinbase trade history\nonchain binance balance       # Binance balances\nonchain binance history       # Binance trade history\n\nPrediction Markets\nonchain polymarket trending          # Trending markets\nonchain polymarket search <query>    # Search markets\nonchain polymarket view <slug>       # View market details\n\nConfiguration\nonchain setup                 # Interactive setup wizard\nonchain config                # View current config\nonchain config wallet add <name> <address>\nonchain config wallet set-default <name>\n\nGlobal Options\n--json - Output as JSON (agent-friendly)\n--plain - Disable colors and emoji\n--timeout <ms> - Request timeout\nConfiguration\n\nConfig file: ~/.config/onchain/config.json5\n\nRequired API Keys\nFeature\tAPI Key\tGet Key\nEVM wallets\tDEBANK_API_KEY\tDeBank\nSolana wallets\tHELIUS_API_KEY\tHelius\nCoinbase CEX\tCOINBASE_API_KEY + COINBASE_API_SECRET\tCoinbase\nBinance CEX\tBINANCE_API_KEY + BINANCE_API_SECRET\tBinance\nOptional API Keys\nFeature\tAPI Key\tNotes\nMarket data\tCOINGECKO_API_KEY\tFree tier works, Pro for higher limits\nMarket fallback\tCOINMARKETCAP_API_KEY\tAlternative market data source\nExamples\nGet Bitcoin price\nonchain price btc\n\nCheck wallet balance\nonchain balance 0x1234...5678\n\nView portfolio with DeFi positions\nonchain portfolio main  # Uses saved wallet named \"main\"\n\nGet trending prediction markets\nonchain polymarket trending -n 5\n\nJSON output for scripts\nonchain --json price eth | jq '.priceUsd'\n\nSupported Chains\nEVM (via DeBank)\n\nEthereum, BNB Chain, Polygon, Arbitrum, Optimism, Avalanche, Base, zkSync Era, Linea, Scroll, Blast, Mantle, Gnosis, Fantom, Celo, and more.\n\nSolana (via Helius)\n\nFull Solana mainnet support including SPL tokens and NFTs.\n\nAgent Integration\n\nThis CLI is designed for agent use. Key patterns:\n\nAlways use --json for programmatic access\nCheck exit codes - 0 for success, 1 for error\nUse saved wallets - Configure once with onchain setup, reference by name\nRate limiting - APIs have rate limits, add delays between rapid calls\nExample Agent Usage\n# Get portfolio value\nVALUE=$(onchain --json portfolio main | jq -r '.totalValueUsd')\n\n# Get price with change\nonchain --json price btc | jq '{price: .priceUsd, change24h: .priceChange24h}'\n\n# Check if market is bullish\nCHANGE=$(onchain --json markets | jq '.marketCapChange24h')"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/arein/onchain-test",
    "publisherUrl": "https://clawhub.ai/arein/onchain-test",
    "owner": "arein",
    "version": "0.1.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/onchain-test",
    "downloadUrl": "https://openagent3.xyz/downloads/onchain-test",
    "agentUrl": "https://openagent3.xyz/skills/onchain-test/agent",
    "manifestUrl": "https://openagent3.xyz/skills/onchain-test/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/onchain-test/agent.md"
  }
}