# Send solana-skill 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": "solana-basics",
    "name": "solana-skill",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/chattyClaw/solana-basics",
    "canonicalUrl": "https://clawhub.ai/chattyClaw/solana-basics",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/solana-basics",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=solana-basics",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "references/helius-api.md",
      "references/jupiter.md",
      "references/security.md",
      "package.json",
      "scripts/wallet.ts",
      "scripts/send.ts"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "solana-basics",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-12T16:48:59.620Z",
      "expiresAt": "2026-05-19T16:48:59.620Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=solana-basics",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=solana-basics",
        "contentDisposition": "attachment; filename=\"solana-basics-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "solana-basics"
      },
      "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/solana-basics"
    },
    "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/solana-basics",
    "downloadUrl": "https://openagent3.xyz/downloads/solana-basics",
    "agentUrl": "https://openagent3.xyz/skills/solana-basics/agent",
    "manifestUrl": "https://openagent3.xyz/skills/solana-basics/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/solana-basics/agent.md"
  }
}
```
## Documentation

### Solana Skill

Comprehensive Solana blockchain interaction using Helius infrastructure.

### Prerequisites

Helius API Key — Get free at https://dashboard.helius.dev/signup
Store key in ~/.config/solana-skill/config.json:

{
  "heliusApiKey": "your-api-key",
  "network": "mainnet-beta"
}

### Wallet Management

Create new wallets (keypair generation)
Import existing wallets (private key or seed phrase)
List managed wallets
Secure key storage (encrypted at rest)

### Balance & Assets

Check SOL balance
Get all token balances (SPL tokens)
View NFTs and compressed NFTs
Portfolio valuation (via DAS API)

### Transactions

Send SOL
Send SPL tokens
Transaction history (enhanced, human-readable)
Priority fee estimation

### Swaps (Jupiter)

Get swap quotes
Execute token swaps
Slippage protection

### Monitoring

Watch addresses for activity
Transaction notifications

### Check Balance

import { createHelius } from 'helius-sdk';

const helius = createHelius({ apiKey: 'YOUR_KEY' });
const assets = await helius.getAssetsByOwner({
  ownerAddress: 'WALLET_ADDRESS',
  displayOptions: {
    showFungible: true,
    showNativeBalance: true
  }
});

### Send SOL

import { Connection, Keypair, SystemProgram, Transaction, sendAndConfirmTransaction, LAMPORTS_PER_SOL } from '@solana/web3.js';

const connection = new Connection('https://mainnet.helius-rpc.com/?api-key=YOUR_KEY');
const tx = new Transaction().add(
  SystemProgram.transfer({
    fromPubkey: sender.publicKey,
    toPubkey: recipientPubkey,
    lamports: amount * LAMPORTS_PER_SOL
  })
);
await sendAndConfirmTransaction(connection, tx, [sender]);

### Jupiter Swap

// 1. Get quote
const quote = await fetch(\`https://api.jup.ag/swap/v1/quote?inputMint=${inputMint}&outputMint=${outputMint}&amount=${amount}\`);

// 2. Build swap transaction
const swap = await fetch('https://api.jup.ag/swap/v1/swap', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    quoteResponse: await quote.json(),
    userPublicKey: wallet.publicKey.toString()
  })
});

// 3. Sign and send

### API Endpoints

ServiceBase URLHelius RPChttps://mainnet.helius-rpc.com/?api-key=KEYHelius Senderhttps://sender.helius-rpc.com/fastJupiter Quotehttps://api.jup.ag/swap/v1/quoteJupiter Swaphttps://api.jup.ag/swap/v1/swap

### Security

Critical rules:

Never log or display private keys
Use encrypted storage for keys
Validate all addresses before transactions
Set reasonable slippage limits (default: 1%)
Always confirm large transactions with user

See references/security.md for detailed security practices.

### Detailed References

references/helius-api.md — Full Helius API reference
references/security.md — Wallet security best practices
references/jupiter.md — Jupiter swap integration

### Common Token Addresses

TokenMint AddressSOLSo11111111111111111111111111111111111111112 (wrapped)USDCEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1vUSDTEs9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYBBONKDezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263

### Error Handling

Common errors and solutions:

Insufficient SOL: Need SOL for rent + transaction fees
Token account not found: Create ATA before sending tokens
Transaction too large: Reduce instructions or use address lookup tables
Blockhash expired: Retry with fresh blockhash
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: chattyClaw
- Version: 1.0.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-12T16:48:59.620Z
- Expires at: 2026-05-19T16:48:59.620Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/solana-basics)
- [Send to Agent page](https://openagent3.xyz/skills/solana-basics/agent)
- [JSON manifest](https://openagent3.xyz/skills/solana-basics/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/solana-basics/agent.md)
- [Download page](https://openagent3.xyz/downloads/solana-basics)