← ClaudeAtlas

solanalisted

Solana signing foundation — build unsigned native SOL and SPL token transfers. Custody-free. Returns base64 VersionedTransaction the user signs externally with Phantom / Backpack / Solflare / hardware wallet. The foundation that Drift / Marginfi / Kamino signed actions build on.
ChainGPT-org/chaingpt-claude-skill · ★ 8 · AI & Automation · score 75
Install: claude install-skill ChainGPT-org/chaingpt-claude-skill
# Solana signing This skill exposes a small foundation for building **unsigned Solana transactions** from chat. The plugin never sees a Solana private key — every state-changing tool returns a base64-encoded `VersionedTransaction` that the user signs in their wallet. ## When to use this skill - The user asks to "send SOL to X" or "transfer USDC to Y" from a Solana address they control. - The user wants to inspect a Solana transaction someone else built before signing it. - A more advanced Solana flow (Drift order, Marginfi deposit, Kamino borrow) builds on the foundation here — when those land, they will reuse `lib/solana-sign.ts` directly. ## What the surface is - `chaingpt_solana_build_transfer_tx` — build an unsigned transfer. - **Native SOL** when `mint` is omitted. Decimals: 9 (`LAMPORTS_PER_SOL`). - **SPL Token (classic or Token-2022)** when `mint` is provided. Decimals fetched from the mint account. Source + destination Associated Token Accounts derived automatically. Idempotent `CreateATAIdempotent` instruction included so first-time-recipient transfers work without an extra setup step. - `acknowledgeMainnet: true` required when `network=mainnet`. Same gate as the EVM tools. - `chaingpt_solana_decode_tx` — decode an unsigned base64 versioned transaction for review (payer, blockhash, instruction count, program ids with annotations). ## Custody model Identical to the rest of the plugin: **custody-free**. The plugin builds the transaction; the user signs it