# Send Solana 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-skills",
    "name": "Solana",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/spendit-ai/solana-skills",
    "canonicalUrl": "https://clawhub.ai/spendit-ai/solana-skills",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/solana-skills",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=solana-skills",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "requirements.txt",
      "scripts/initialize.py",
      "scripts/jup_swap.py",
      "scripts/pumpfun.py",
      "scripts/wallet.py"
    ],
    "downloadMode": "redirect",
    "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/solana-skills"
    },
    "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-skills",
    "downloadUrl": "https://openagent3.xyz/downloads/solana-skills",
    "agentUrl": "https://openagent3.xyz/skills/solana-skills/agent",
    "manifestUrl": "https://openagent3.xyz/skills/solana-skills/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/solana-skills/agent.md"
  }
}
```
## Documentation

### Solana Wallet ◎

Solana wallet management and token operations for AI agents.

### Setup

pip install -r requirements.txt

### Initialize Wallet

First, create a new wallet and save the private key to your .env file:

python3 {baseDir}/scripts/initialize.py

This will:

Generate a new Solana keypair
Display the public key (wallet address)
Save the private key in base58 format to .env as SOLANA_PRIVATE_KEY

IMPORTANT: After running initialize.py, export the private key to your environment:

export SOLANA_PRIVATE_KEY=$(grep SOLANA_PRIVATE_KEY .env | cut -d '=' -f2)

Or source the .env file:

source .env

### Check SOL Balance

python3 {baseDir}/scripts/wallet.py balance
python3 {baseDir}/scripts/wallet.py balance <wallet_address>

### Check Token Balance

python3 {baseDir}/scripts/wallet.py token-balance <token_mint_address>
python3 {baseDir}/scripts/wallet.py token-balance <token_mint_address> --owner <wallet_address>

### Send SOL

python3 {baseDir}/scripts/wallet.py send <recipient_address> <amount_in_sol>

### Send SPL Token

python3 {baseDir}/scripts/wallet.py send-token <token_mint_address> <recipient_address> <amount>

### Get Wallet Address

python3 {baseDir}/scripts/wallet.py address

### Get Swap Quote

python3 {baseDir}/scripts/jup_swap.py quote <input_token> <output_token> <amount>
python3 {baseDir}/scripts/jup_swap.py quote SOL USDC 1

### Execute Swap

python3 {baseDir}/scripts/jup_swap.py swap <input_token> <output_token> <amount>
python3 {baseDir}/scripts/jup_swap.py swap SOL USDC 0.1

### List Known Tokens

python3 {baseDir}/scripts/jup_swap.py tokens

Token symbols: SOL, USDC, USDT, BONK, JUP, RAY, PYTH (or use full mint addresses)

### Launch Token

python3 {baseDir}/scripts/pumpfun.py launch --name "Token Name" --symbol "TKN" --image ./logo.png

### Launch with Dev Buy

python3 {baseDir}/scripts/pumpfun.py launch --name "Token Name" --symbol "TKN" --image ./logo.png --buy 0.5

### Launch with Custom Mint (Vanity Address)

python3 {baseDir}/scripts/pumpfun.py launch --name "Token Name" --symbol "TKN" --image ./logo.png --mint-key <base58_key>

Use vanity addresses ending in 'pump' for more legit-looking tokens. Generate with:

solana-keygen grind --ends-with pump:1

### Options

--name - Token name (required)
--symbol - Token symbol (required)
--image - Path to token image (required)
--description or -d - Token description
--buy or -b - Dev buy amount in SOL
--mint-key or -m - Custom mint private key (base58)

### Network Configuration

By default, wallet operations run on mainnet. Use --network to switch:

python3 {baseDir}/scripts/wallet.py balance --network devnet
python3 {baseDir}/scripts/wallet.py balance --network testnet

### Environment Variables

VariableDescriptionSOLANA_PRIVATE_KEYBase58-encoded private key (required)JUPITER_API_KEYJupiter API key for swaps (required)SOLANA_RPC_URLCustom RPC endpoint (optional)

### Examples

# Initialize new wallet
python3 {baseDir}/scripts/initialize.py

# Check your SOL balance
python3 {baseDir}/scripts/wallet.py balance

# Send 0.1 SOL to another wallet
python3 {baseDir}/scripts/wallet.py send 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU 0.1

# Check USDC balance (mainnet USDC mint)
python3 {baseDir}/scripts/wallet.py token-balance EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v

# Send 10 USDC to another wallet
python3 {baseDir}/scripts/wallet.py send-token EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU 10

# Quote swap: 1 SOL to USDC
python3 {baseDir}/scripts/jup_swap.py quote SOL USDC 1

# Swap 0.5 SOL to USDC
python3 {baseDir}/scripts/jup_swap.py swap SOL USDC 0.5

# Launch token on Pump.fun
python3 {baseDir}/scripts/pumpfun.py launch --name "My Token" --symbol "MTK" --image ./logo.png

# Launch with dev buy
python3 {baseDir}/scripts/pumpfun.py launch --name "My Token" --symbol "MTK" --image ./logo.png --buy 1

### Common Token Mints (Mainnet)

TokenMint AddressUSDCEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1vUSDTEs9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYBBONKDezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263

### When to Use

Create wallets for new Solana accounts
Check balances of SOL or any SPL token
Send SOL for payments or transfers
Send tokens for SPL token transfers
Swap tokens via Jupiter aggregator
Launch tokens on Pump.fun with custom images and dev buys
Devnet testing with --network devnet
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: spendit-ai
- Version: 0.1.2
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/solana-skills)
- [Send to Agent page](https://openagent3.xyz/skills/solana-skills/agent)
- [JSON manifest](https://openagent3.xyz/skills/solana-skills/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/solana-skills/agent.md)
- [Download page](https://openagent3.xyz/downloads/solana-skills)