# Send Kaspa Dev 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. 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. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "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": {
    "downloadUrl": "/downloads/kaspa-dev",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kaspa-dev",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "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"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "kaspa-dev",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T16:21:02.930Z",
      "expiresAt": "2026-05-11T16:21:02.930Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kaspa-dev",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kaspa-dev",
        "contentDisposition": "attachment; filename=\"kaspa-dev-0.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "kaspa-dev"
      },
      "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-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."
      ]
    }
  },
  "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"
  }
}
```
## Documentation

### Overview

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.

### Choose Your SDK

Kaspa provides official SDKs for multiple languages:

JavaScript/TypeScript: kaspa-wasm - WebAssembly-based SDK for browser and Node.js
Rust: kaspa-rpc-client and kaspa-wallet-core - Native Rust SDK
Go: github.com/kaspanet/kaspad - Official Go implementation
Python: Community SDKs available via PyPI
Motoko: kaspa package on Mops for Internet Computer integration

### Common Tasks

Generate a Kaspa Address

JavaScript/TypeScript:

import { PrivateKey, NetworkType } from 'kaspa-wasm';

const privateKey = PrivateKey.random(NetworkType.Mainnet);
const publicKey = privateKey.toPublicKey();
const address = publicKey.toAddress(NetworkType.Mainnet);

console.log('Address:', address.toString());
console.log('Private Key:', privateKey.toString());

Rust:

use kaspa_wallet_core::keys::{PrivateKey, PublicKey};
use kaspa_consensus_core::network::NetworkType;

let private_key = PrivateKey::random(NetworkType::Mainnet);
let public_key = private_key.to_public_key();
let address = public_key.to_address(NetworkType::Mainnet);

println!("Address: {}", address.to_string());

Go:

import (
    "github.com/kaspanet/kaspad/domain/consensus/model/externalapi"
    "github.com/kaspanet/kaspad/util"
)

privateKey, _ := util.GeneratePrivateKey()
publicKey := privateKey.PublicKey()
address, _ := util.NewAddressPublicKey(publicKey.Serialize(), util.Bech32PrefixKaspaMain)

fmt.Printf("Address: %s\\n", address.String())

Build and Broadcast a Transaction

JavaScript/TypeScript:

import { Transaction, RpcClient, NetworkType } from 'kaspa-wasm';

const rpc = new RpcClient({
  url: 'wss://api.kaspa.org',
  network: NetworkType.Mainnet
});

await rpc.connect();

// Get UTXOs for the sender address
const utxos = await rpc.getUtxosByAddresses([senderAddress]);

// Build transaction
const tx = new Transaction({
  version: 0,
  inputs: utxos.map(utxo => ({
    previousOutpoint: utxo.outpoint,
    signatureScript: '', // Will be filled after signing
    sequence: 0,
    sigOpCount: 1
  })),
  outputs: [{
    amount: amount,
    scriptPublicKey: recipientScriptPublicKey
  }],
  lockTime: 0,
  subnetworkId: '00000000000000000000000000000000'
});

// Sign transaction
const signedTx = await signTransaction(tx, privateKey);

// Broadcast
const txId = await rpc.submitTransaction(signedTx);
console.log('Transaction ID:', txId);

### SDK References

For detailed SDK documentation and examples:

JavaScript/TypeScript (WASM): See references/kaspa-wasm-sdk.md
Rust SDK: See references/kaspa-rust-sdk.md
Go SDK: See references/kaspa-go-sdk.md
Python SDK: See references/kaspa-python-sdk.md
API Reference: See references/api-reference.md for Kaspa Developer Platform API

### Wallet Integration

For integrating Kaspa into wallets like RainbowKit, OisyWallet, or custom wallets:

See references/wallet-integration.md for:

Wallet connection patterns
Transaction signing flows
Address management
Network switching

### Node Operations

For setting up and operating Kaspa nodes:

See references/node-operations.md for:

Docker deployment
Binary installation
Building from source
Configuration options
RPC node setup
Monitoring and maintenance

### dApp Development

When building a Kaspa dApp:

Setup: Use the WASM SDK for browser compatibility
Wallet Connection: Implement wallet adapter pattern
State Management: Track balances, transactions, and UTXOs
Transaction Building: Use UTXO selection algorithms
Error Handling: Handle network failures and reorgs

### Block Explorer

To build a block explorer:

Data Source: Use Kaspa Developer Platform API or run your own node
Indexing: Index blocks, transactions, and addresses
API Layer: Build REST/GraphQL API for frontend
Frontend: Display blocks, transactions, addresses, and network stats

See API reference for available endpoints.

### KRC20 Tokens

Kaspa supports KRC20 tokens (similar to ERC20 on Ethereum). For token development:

See references/krc20-tokens.md for:

Token contract structure
Transfer and approval mechanisms
Token metadata
Integration patterns

### Network Types

Kaspa has three network types:

Mainnet: Production network (prefix: kaspa:)
Testnet: Testing network (prefix: kaspatest:)
Devnet: Development network (prefix: kaspadev:)

Always use the correct network type for your use case.

### Address Formats

Kaspa uses Bech32 encoding for addresses:

Mainnet: kaspa:qqkqkzjvr7zwxxmjxjkmxx (62 characters total)
Testnet: kaspatest:qqkqkzjvr7zwxxmjxjkmxx
Devnet: kaspadev:qqkqkzjvr7zwxxmjxjkmxx

### Scripts and Utilities

The scripts/ directory contains utility scripts:

generate-address.py: Generate Kaspa addresses
build-transaction.py: Build and sign transactions
monitor-address.py: Monitor address for incoming transactions

### References

api-reference.md: Kaspa Developer Platform API documentation
kaspa-wasm-sdk.md: JavaScript/TypeScript WASM SDK guide
kaspa-rust-sdk.md: Rust SDK documentation
kaspa-go-sdk.md: Go SDK documentation
kaspa-python-sdk.md: Python SDK documentation
krc20-tokens.md: KRC20 token standard documentation
wallet-integration.md: Wallet integration patterns and examples
node-operations.md: Complete guide for running Kaspa nodes

### Assets

The assets/ directory contains boilerplate templates:

dapp-template/: React/Next.js dApp starter
explorer-template/: Block explorer starter
wallet-adapter/: Wallet adapter implementation

### Best Practices

Always validate addresses before using them
Handle UTXO selection carefully to avoid dust outputs
Implement proper error handling for network failures
Test on testnet before mainnet deployment
Monitor for chain reorganizations when confirming transactions
Use fee estimation for timely transaction confirmation
Secure private keys - never expose them in client-side code

### Getting Help

Documentation: https://docs.kas.fyi/
GitHub: https://github.com/kaspanet
Developer Platform: https://kas.fyi/
Motoko Package: https://mops.one/kaspa
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: codecustard
- Version: 0.1.0
## 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:21:02.930Z
- Expires at: 2026-05-11T16:21:02.930Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/kaspa-dev)
- [Send to Agent page](https://openagent3.xyz/skills/kaspa-dev/agent)
- [JSON manifest](https://openagent3.xyz/skills/kaspa-dev/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/kaspa-dev/agent.md)
- [Download page](https://openagent3.xyz/downloads/kaspa-dev)