Solana for Openclaw

A technical toolkit for AI agents to interact with the Solana blockchain, handling everything from transaction lifecycles to token account management.

ivangdavila
v1.0.0
Feb 10, 2026
2
2.3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install solana

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install solana using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Solana?

This skill empowers your AI agent to navigate the high-performance Solana ecosystem with professional-grade precision. It provides the underlying logic needed to manage rent-exempt accounts, handle SPL token transfers, and navigate the unique Associated Token Account (ATA) architecture. By integrating this capability into Openclaw Skills, developers can automate complex blockchain interactions such as monitoring transaction finality and calculating dynamic priority fees based on real-time network congestion.

Solana Use Cases

  • Managing SPL token portfolios and automated transfers between wallets.
  • Calculating and applying dynamic priority fees to ensure transaction landing during peak network congestion.
  • Automating the creation and closing of rent-exempt accounts to optimize and recover SOL balances.
  • Debugging and troubleshooting common on-chain errors like Blockhash not found or Account not found.

How Solana Works

  1. The agent identifies the required blockchain action, such as sending SOL, transferring SPL tokens, or interacting with a program.
  2. It verifies the existence of an Associated Token Account (ATA) and calculates the necessary rent-exempt deposit required for new accounts.
  3. A transaction is constructed with a fresh blockhash to meet the ~60-second expiration window used by the Solana network.
  4. Priority fees are determined by querying the RPC for current market prices to ensure the transaction is not dropped during congestion.
  5. The transaction is simulated to catch errors before being broadcast and tracked until it reaches finalized status.

Solana Setup

To enable this skill within your environment, ensure you have the Solana CLI tools installed and configured:

# Install the Solana CLI
sh -c "$(curl -sSfL https://release.solana.com/v1.18.4/install)"

# Configure your desired RPC endpoint
solana config set --url https://api.mainnet-beta.solana.com

# Integrate the skill via Openclaw Skills
clawdbot install solana

Solana Data Schema & Taxonomy

The skill manages data across several key Solana primitives:

Attribute Description
Rent-Exempt Minimum The required balance (~0.00089 SOL) to prevent account deletion.
ATA (Associated Token Account) The specific address linked to a wallet for a particular token mint.
Priority Fees Dynamic fee structure based on compute units and micro-lamports.
Transaction Lifecycle Status tracking from processed to confirmed and finally finalized.

Solana Advanced Features

  • Automated rent recovery by closing unused token accounts to return SOL to the owner.
  • Custom compute unit budget management to support complex program interactions.
  • Preflight simulation controls to optimize transaction speed for advanced users.
  • Integration with specialized RPC providers for higher rate limits and detailed prioritization data.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*