Solana

Assist with Solana transactions, token accounts, priority fees, and program interactions.

MIT-0 · Free to use, modify, and redistribute. No attribution required.
2 · 897 · 7 current installs · 7 all-time installs
byIván@ivangdavila
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The skill's name/description (Solana tooling and transaction guidance) matches the SKILL.md content. Minor inconsistency: the documentation mentions CLI commands (solana, spl-token) and RPC providers, but the registry metadata declares no required binaries or RPC credentials. This is not necessarily malicious, but the skill assumes the agent or user environment may already have those tools/keys available.
Instruction Scope
SKILL.md stays on-topic: it gives guidance about rent, token accounts, fees, errors, RPCs, explorers, and wallet safety. It does not instruct the agent to read unrelated files, exfiltrate data, or call unexpected external endpoints. Example CLI commands and RPC endpoints are referenced as examples rather than as covert data sinks.
Install Mechanism
No install spec and no code files — lowest-risk form. Nothing is downloaded or written to disk by this skill itself.
Credentials
The skill declares no required environment variables, credentials, or config paths. The content references paid RPC providers (Helius, QuickNode, Triton) as recommendations, which is reasonable for production usage and does not require the skill to hold credentials itself.
Persistence & Privilege
always:false and default invocation settings — the skill does not request permanent inclusion or elevated privileges. There are no instructions to modify other skills or agent-wide configuration.
Assessment
This skill is essentially a Solana reference sheet and appears coherent. Before enabling or letting an agent use it, consider: (1) it mentions CLI tools (solana, spl-token) but doesn't declare them as required — the agent won't be able to execute those commands unless the environment provides them; (2) the skill asks for no credentials, but any agent you pair with it could still be given wallet private keys or RPC API keys elsewhere — never paste private keys into chats or skill inputs; (3) when following its advice in production, use dedicated paid RPC providers and burner wallets for risky interactions; (4) the skill has no homepage/source listed — if you require provenance, ask the publisher for more info before trusting it in high-value contexts.

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.0.0
Download zip
latestvk97d48pr0wete6pzn9w6t1b0yx80vg00

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

Clawdis
OSLinux · macOS · Windows

SKILL.md

Rent and Account Creation

  • Every Solana account must hold a minimum SOL balance (~0.00089 SOL for basic accounts) to be rent-exempt — accounts below this get deleted
  • Sending SOL to a new address that has never received anything will fail if the amount doesn't cover rent-exempt minimum
  • Token accounts require separate rent deposits — each new token type a wallet holds costs ~0.002 SOL to create
  • Close unused token accounts to recover rent: spl-token close returns the SOL to owner

Token Accounts (SPL Tokens)

  • Unlike Ethereum, Solana wallets don't automatically hold tokens — each token needs an Associated Token Account (ATA) created first
  • First-time token transfers must create the recipient's ATA — sender pays ~0.002 SOL account creation fee
  • "Account not found" error usually means the ATA doesn't exist yet, not that the wallet is invalid
  • One wallet can have multiple ATAs for the same token (non-associated) — always use the ATA address for standard transfers

Transaction Fees and Priority

  • Base fee is ~0.000005 SOL (5000 lamports) per signature — much cheaper than Ethereum
  • Priority fee = compute units × price in micro-lamports — set via SetComputeUnitPrice instruction
  • During congestion (NFT mints, popular DEX), transactions without priority fees get dropped, not queued
  • Default compute unit limit is 200k per instruction — complex programs may need SetComputeUnitLimit to increase

Transaction Lifecycle

  • Solana transactions expire after ~60 seconds (based on blockhash age) — no permanent mempool like Bitcoin/Ethereum
  • "Dropped" means tx was never included and expired. "Failed" means it was included but reverted. Completely different outcomes
  • If transaction shows "confirmed" but not "finalized", wait — finalized means 31+ confirmations and is irreversible
  • Preflight simulation catches most errors before broadcast — disable with skipPreflight: true only if you know why

Common Error Messages

  • "Insufficient funds for rent" — account would drop below rent-exempt minimum after transaction
  • "Account not found" — the account doesn't exist on-chain (never created or was closed)
  • "Blockhash not found" — transaction expired, need fresh blockhash and re-sign
  • "Program failed to complete" — smart contract error, check logs with solana confirm -v <txid>

RPC and APIs

  • Public RPCs (api.mainnet-beta.solana.com) have strict rate limits — production apps need paid RPC (Helius, QuickNode, Triton)
  • getRecentPrioritizationFees RPC gives current priority fee market — essential for landing txs during congestion
  • Solscan.io and Solana.fm are the main block explorers — both show decoded instruction data
  • For token metadata (name, symbol, image), query Metaplex on-chain or use Helius/SimpleHash APIs

Wallet and Security

  • Phantom, Solflare, Backpack are the main wallets — each has slightly different transaction simulation UI
  • "Approve" prompts in Solana can drain entire wallet if malicious — read the simulation carefully
  • Burner wallets are common practice for minting/airdrops — never connect main wallet to unknown sites
  • Unlike Ethereum's infinite approvals, most Solana programs take tokens directly — no separate revoke step needed

Files

1 total
Select a file
Select a file to preview.

Comments

Loading comments…