Agent skill

w3rt-balance

Check Solana balance (SOL + optional SPL tokens) using w3rt runtime via a simple Node CLI wrapper.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/w3rt-balance

Metadata

Additional technical details for this skill

openclaw
{
    "emoji": "\ud83d\udcb0",
    "requires": {
        "bins": [
            "node"
        ],
        "config": [
            "~/.w3rt/config.yaml"
        ]
    }
}

SKILL.md

w3rt-balance

Use this skill when the user asks to check SOL balance or token balances.

Preconditions

  • ~/.w3rt/config.yaml exists
  • wallet.keyPath points to a valid Solana keypair JSON (64-byte array)

Command

Run:

bash
cd /home/davirain/clawd/web3AIRuntime
node scripts/w3rt_balance.mjs

Optional:

bash
# Query a specific address
node scripts/w3rt_balance.mjs --address <SOLANA_PUBKEY>

# Include SPL tokens
node scripts/w3rt_balance.mjs --include-tokens

# Only one token mint
node scripts/w3rt_balance.mjs --include-tokens --token-mint <MINT>

Output handling

  • Parse JSON output.
  • Provide a concise summary: SOL amount, and (if requested) a short list of SPL tokens.
  • If the tool returns ok:false or throws, surface the error and suggest verifying ~/.w3rt/config.yaml and wallet.keyPath.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results