{
  "schemaVersion": "1.0",
  "item": {
    "slug": "kaspa-dev",
    "name": "Kaspa Dev",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/codecustard/kaspa-dev",
    "canonicalUrl": "https://clawhub.ai/codecustard/kaspa-dev",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/kaspa-dev",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kaspa-dev",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/api-reference.md",
      "references/kaspa-go-sdk.md",
      "references/kaspa-python-sdk.md",
      "references/kaspa-rust-sdk.md",
      "references/kaspa-wasm-sdk.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. 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. 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/kaspa-dev"
    },
    "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-dev",
    "agentPageUrl": "https://openagent3.xyz/skills/kaspa-dev/agent",
    "manifestUrl": "https://openagent3.xyz/skills/kaspa-dev/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/kaspa-dev/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. 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. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Overview",
        "body": "This skill provides comprehensive support for Kaspa blockchain development across multiple programming languages and use cases. Whether you're building a simple wallet integration, a full dApp, a block explorer, or working with KRC20 tokens, this skill provides the patterns, SDK references, and boilerplate code you need."
      },
      {
        "title": "Choose Your SDK",
        "body": "Kaspa provides official SDKs for multiple languages:\n\nJavaScript/TypeScript: kaspa-wasm - WebAssembly-based SDK for browser and Node.js\nRust: kaspa-rpc-client and kaspa-wallet-core - Native Rust SDK\nGo: github.com/kaspanet/kaspad - Official Go implementation\nPython: Community SDKs available via PyPI\nMotoko: kaspa package on Mops for Internet Computer integration"
      },
      {
        "title": "Common Tasks",
        "body": "Generate a Kaspa Address\n\nJavaScript/TypeScript:\n\nimport { PrivateKey, NetworkType } from 'kaspa-wasm';\n\nconst privateKey = PrivateKey.random(NetworkType.Mainnet);\nconst publicKey = privateKey.toPublicKey();\nconst address = publicKey.toAddress(NetworkType.Mainnet);\n\nconsole.log('Address:', address.toString());\nconsole.log('Private Key:', privateKey.toString());\n\nRust:\n\nuse kaspa_wallet_core::keys::{PrivateKey, PublicKey};\nuse kaspa_consensus_core::network::NetworkType;\n\nlet private_key = PrivateKey::random(NetworkType::Mainnet);\nlet public_key = private_key.to_public_key();\nlet address = public_key.to_address(NetworkType::Mainnet);\n\nprintln!(\"Address: {}\", address.to_string());\n\nGo:\n\nimport (\n    \"github.com/kaspanet/kaspad/domain/consensus/model/externalapi\"\n    \"github.com/kaspanet/kaspad/util\"\n)\n\nprivateKey, _ := util.GeneratePrivateKey()\npublicKey := privateKey.PublicKey()\naddress, _ := util.NewAddressPublicKey(publicKey.Serialize(), util.Bech32PrefixKaspaMain)\n\nfmt.Printf(\"Address: %s\\n\", address.String())\n\nBuild and Broadcast a Transaction\n\nJavaScript/TypeScript:\n\nimport { Transaction, RpcClient, NetworkType } from 'kaspa-wasm';\n\nconst rpc = new RpcClient({\n  url: 'wss://api.kaspa.org',\n  network: NetworkType.Mainnet\n});\n\nawait rpc.connect();\n\n// Get UTXOs for the sender address\nconst utxos = await rpc.getUtxosByAddresses([senderAddress]);\n\n// Build transaction\nconst tx = new Transaction({\n  version: 0,\n  inputs: utxos.map(utxo => ({\n    previousOutpoint: utxo.outpoint,\n    signatureScript: '', // Will be filled after signing\n    sequence: 0,\n    sigOpCount: 1\n  })),\n  outputs: [{\n    amount: amount,\n    scriptPublicKey: recipientScriptPublicKey\n  }],\n  lockTime: 0,\n  subnetworkId: '00000000000000000000000000000000'\n});\n\n// Sign transaction\nconst signedTx = await signTransaction(tx, privateKey);\n\n// Broadcast\nconst txId = await rpc.submitTransaction(signedTx);\nconsole.log('Transaction ID:', txId);"
      },
      {
        "title": "SDK References",
        "body": "For detailed SDK documentation and examples:\n\nJavaScript/TypeScript (WASM): See references/kaspa-wasm-sdk.md\nRust SDK: See references/kaspa-rust-sdk.md\nGo SDK: See references/kaspa-go-sdk.md\nPython SDK: See references/kaspa-python-sdk.md\nAPI Reference: See references/api-reference.md for Kaspa Developer Platform API"
      },
      {
        "title": "Wallet Integration",
        "body": "For integrating Kaspa into wallets like RainbowKit, OisyWallet, or custom wallets:\n\nSee references/wallet-integration.md for:\n\nWallet connection patterns\nTransaction signing flows\nAddress management\nNetwork switching"
      },
      {
        "title": "Node Operations",
        "body": "For setting up and operating Kaspa nodes:\n\nSee references/node-operations.md for:\n\nDocker deployment\nBinary installation\nBuilding from source\nConfiguration options\nRPC node setup\nMonitoring and maintenance"
      },
      {
        "title": "dApp Development",
        "body": "When building a Kaspa dApp:\n\nSetup: Use the WASM SDK for browser compatibility\nWallet Connection: Implement wallet adapter pattern\nState Management: Track balances, transactions, and UTXOs\nTransaction Building: Use UTXO selection algorithms\nError Handling: Handle network failures and reorgs"
      },
      {
        "title": "Block Explorer",
        "body": "To build a block explorer:\n\nData Source: Use Kaspa Developer Platform API or run your own node\nIndexing: Index blocks, transactions, and addresses\nAPI Layer: Build REST/GraphQL API for frontend\nFrontend: Display blocks, transactions, addresses, and network stats\n\nSee API reference for available endpoints."
      },
      {
        "title": "KRC20 Tokens",
        "body": "Kaspa supports KRC20 tokens (similar to ERC20 on Ethereum). For token development:\n\nSee references/krc20-tokens.md for:\n\nToken contract structure\nTransfer and approval mechanisms\nToken metadata\nIntegration patterns"
      },
      {
        "title": "Network Types",
        "body": "Kaspa has three network types:\n\nMainnet: Production network (prefix: kaspa:)\nTestnet: Testing network (prefix: kaspatest:)\nDevnet: Development network (prefix: kaspadev:)\n\nAlways use the correct network type for your use case."
      },
      {
        "title": "Address Formats",
        "body": "Kaspa uses Bech32 encoding for addresses:\n\nMainnet: kaspa:qqkqkzjvr7zwxxmjxjkmxx (62 characters total)\nTestnet: kaspatest:qqkqkzjvr7zwxxmjxjkmxx\nDevnet: kaspadev:qqkqkzjvr7zwxxmjxjkmxx"
      },
      {
        "title": "Scripts and Utilities",
        "body": "The scripts/ directory contains utility scripts:\n\ngenerate-address.py: Generate Kaspa addresses\nbuild-transaction.py: Build and sign transactions\nmonitor-address.py: Monitor address for incoming transactions"
      },
      {
        "title": "References",
        "body": "api-reference.md: Kaspa Developer Platform API documentation\nkaspa-wasm-sdk.md: JavaScript/TypeScript WASM SDK guide\nkaspa-rust-sdk.md: Rust SDK documentation\nkaspa-go-sdk.md: Go SDK documentation\nkaspa-python-sdk.md: Python SDK documentation\nkrc20-tokens.md: KRC20 token standard documentation\nwallet-integration.md: Wallet integration patterns and examples\nnode-operations.md: Complete guide for running Kaspa nodes"
      },
      {
        "title": "Assets",
        "body": "The assets/ directory contains boilerplate templates:\n\ndapp-template/: React/Next.js dApp starter\nexplorer-template/: Block explorer starter\nwallet-adapter/: Wallet adapter implementation"
      },
      {
        "title": "Best Practices",
        "body": "Always validate addresses before using them\nHandle UTXO selection carefully to avoid dust outputs\nImplement proper error handling for network failures\nTest on testnet before mainnet deployment\nMonitor for chain reorganizations when confirming transactions\nUse fee estimation for timely transaction confirmation\nSecure private keys - never expose them in client-side code"
      },
      {
        "title": "Getting Help",
        "body": "Documentation: https://docs.kas.fyi/\nGitHub: https://github.com/kaspanet\nDeveloper Platform: https://kas.fyi/\nMotoko Package: https://mops.one/kaspa"
      }
    ],
    "body": "Kaspa Development\nOverview\n\nThis skill provides comprehensive support for Kaspa blockchain development across multiple programming languages and use cases. Whether you're building a simple wallet integration, a full dApp, a block explorer, or working with KRC20 tokens, this skill provides the patterns, SDK references, and boilerplate code you need.\n\nQuick Start\nChoose Your SDK\n\nKaspa provides official SDKs for multiple languages:\n\nJavaScript/TypeScript: kaspa-wasm - WebAssembly-based SDK for browser and Node.js\nRust: kaspa-rpc-client and kaspa-wallet-core - Native Rust SDK\nGo: github.com/kaspanet/kaspad - Official Go implementation\nPython: Community SDKs available via PyPI\nMotoko: kaspa package on Mops for Internet Computer integration\nCommon Tasks\nGenerate a Kaspa Address\n\nJavaScript/TypeScript:\n\nimport { PrivateKey, NetworkType } from 'kaspa-wasm';\n\nconst privateKey = PrivateKey.random(NetworkType.Mainnet);\nconst publicKey = privateKey.toPublicKey();\nconst address = publicKey.toAddress(NetworkType.Mainnet);\n\nconsole.log('Address:', address.toString());\nconsole.log('Private Key:', privateKey.toString());\n\n\nRust:\n\nuse kaspa_wallet_core::keys::{PrivateKey, PublicKey};\nuse kaspa_consensus_core::network::NetworkType;\n\nlet private_key = PrivateKey::random(NetworkType::Mainnet);\nlet public_key = private_key.to_public_key();\nlet address = public_key.to_address(NetworkType::Mainnet);\n\nprintln!(\"Address: {}\", address.to_string());\n\n\nGo:\n\nimport (\n    \"github.com/kaspanet/kaspad/domain/consensus/model/externalapi\"\n    \"github.com/kaspanet/kaspad/util\"\n)\n\nprivateKey, _ := util.GeneratePrivateKey()\npublicKey := privateKey.PublicKey()\naddress, _ := util.NewAddressPublicKey(publicKey.Serialize(), util.Bech32PrefixKaspaMain)\n\nfmt.Printf(\"Address: %s\\n\", address.String())\n\nBuild and Broadcast a Transaction\n\nJavaScript/TypeScript:\n\nimport { Transaction, RpcClient, NetworkType } from 'kaspa-wasm';\n\nconst rpc = new RpcClient({\n  url: 'wss://api.kaspa.org',\n  network: NetworkType.Mainnet\n});\n\nawait rpc.connect();\n\n// Get UTXOs for the sender address\nconst utxos = await rpc.getUtxosByAddresses([senderAddress]);\n\n// Build transaction\nconst tx = new Transaction({\n  version: 0,\n  inputs: utxos.map(utxo => ({\n    previousOutpoint: utxo.outpoint,\n    signatureScript: '', // Will be filled after signing\n    sequence: 0,\n    sigOpCount: 1\n  })),\n  outputs: [{\n    amount: amount,\n    scriptPublicKey: recipientScriptPublicKey\n  }],\n  lockTime: 0,\n  subnetworkId: '00000000000000000000000000000000'\n});\n\n// Sign transaction\nconst signedTx = await signTransaction(tx, privateKey);\n\n// Broadcast\nconst txId = await rpc.submitTransaction(signedTx);\nconsole.log('Transaction ID:', txId);\n\nSDK References\n\nFor detailed SDK documentation and examples:\n\nJavaScript/TypeScript (WASM): See references/kaspa-wasm-sdk.md\nRust SDK: See references/kaspa-rust-sdk.md\nGo SDK: See references/kaspa-go-sdk.md\nPython SDK: See references/kaspa-python-sdk.md\nAPI Reference: See references/api-reference.md for Kaspa Developer Platform API\nIntegration Guides\nWallet Integration\n\nFor integrating Kaspa into wallets like RainbowKit, OisyWallet, or custom wallets:\n\nSee references/wallet-integration.md for:\n\nWallet connection patterns\nTransaction signing flows\nAddress management\nNetwork switching\nNode Operations\n\nFor setting up and operating Kaspa nodes:\n\nSee references/node-operations.md for:\n\nDocker deployment\nBinary installation\nBuilding from source\nConfiguration options\nRPC node setup\nMonitoring and maintenance\ndApp Development\n\nWhen building a Kaspa dApp:\n\nSetup: Use the WASM SDK for browser compatibility\nWallet Connection: Implement wallet adapter pattern\nState Management: Track balances, transactions, and UTXOs\nTransaction Building: Use UTXO selection algorithms\nError Handling: Handle network failures and reorgs\nBlock Explorer\n\nTo build a block explorer:\n\nData Source: Use Kaspa Developer Platform API or run your own node\nIndexing: Index blocks, transactions, and addresses\nAPI Layer: Build REST/GraphQL API for frontend\nFrontend: Display blocks, transactions, addresses, and network stats\n\nSee API reference for available endpoints.\n\nKRC20 Tokens\n\nKaspa supports KRC20 tokens (similar to ERC20 on Ethereum). For token development:\n\nSee references/krc20-tokens.md for:\n\nToken contract structure\nTransfer and approval mechanisms\nToken metadata\nIntegration patterns\nNetwork Types\n\nKaspa has three network types:\n\nMainnet: Production network (prefix: kaspa:)\nTestnet: Testing network (prefix: kaspatest:)\nDevnet: Development network (prefix: kaspadev:)\n\nAlways use the correct network type for your use case.\n\nAddress Formats\n\nKaspa uses Bech32 encoding for addresses:\n\nMainnet: kaspa:qqkqkzjvr7zwxxmjxjkmxx (62 characters total)\nTestnet: kaspatest:qqkqkzjvr7zwxxmjxjkmxx\nDevnet: kaspadev:qqkqkzjvr7zwxxmjxjkmxx\nScripts and Utilities\n\nThe scripts/ directory contains utility scripts:\n\ngenerate-address.py: Generate Kaspa addresses\nbuild-transaction.py: Build and sign transactions\nmonitor-address.py: Monitor address for incoming transactions\nResources\nReferences\napi-reference.md: Kaspa Developer Platform API documentation\nkaspa-wasm-sdk.md: JavaScript/TypeScript WASM SDK guide\nkaspa-rust-sdk.md: Rust SDK documentation\nkaspa-go-sdk.md: Go SDK documentation\nkaspa-python-sdk.md: Python SDK documentation\nkrc20-tokens.md: KRC20 token standard documentation\nwallet-integration.md: Wallet integration patterns and examples\nnode-operations.md: Complete guide for running Kaspa nodes\nAssets\n\nThe assets/ directory contains boilerplate templates:\n\ndapp-template/: React/Next.js dApp starter\nexplorer-template/: Block explorer starter\nwallet-adapter/: Wallet adapter implementation\nBest Practices\nAlways validate addresses before using them\nHandle UTXO selection carefully to avoid dust outputs\nImplement proper error handling for network failures\nTest on testnet before mainnet deployment\nMonitor for chain reorganizations when confirming transactions\nUse fee estimation for timely transaction confirmation\nSecure private keys - never expose them in client-side code\nGetting Help\nDocumentation: https://docs.kas.fyi/\nGitHub: https://github.com/kaspanet\nDeveloper Platform: https://kas.fyi/\nMotoko Package: https://mops.one/kaspa"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/codecustard/kaspa-dev",
    "publisherUrl": "https://clawhub.ai/codecustard/kaspa-dev",
    "owner": "codecustard",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/kaspa-dev",
    "downloadUrl": "https://openagent3.xyz/downloads/kaspa-dev",
    "agentUrl": "https://openagent3.xyz/skills/kaspa-dev/agent",
    "manifestUrl": "https://openagent3.xyz/skills/kaspa-dev/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/kaspa-dev/agent.md"
  }
}