sepivip

Solana Payments Skill — Development skill for Claude Code

Development community

Agent skill for integrating Solana SPL token payments (USDC/USDT) — wallet generation, balance checking, transfer detection, sweeping, and production best practices.

How to install Solana Payments Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open sepivip/solana-payments-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Solana Payments Skill does

Agent skill for integrating Solana SPL token payments (USDC/USDT) — wallet generation, balance checking, transfer detection, sweeping, and production best practices.

Alternatives in Development

  • Stripe — Payments Stripe integration with best-practices skill 14k ★
  • Internet Court Skill — The trust layer for agent-to-agent commerce — natural-language mandates, ERC-7710 delegated permissions, x402 4.9k ★
  • /token Scan — Fast rug pull detection for meme coins and token contracts 1.7k ★

README

solana-payments

An [agent skill](https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/skills) for integrating Solana SPL token payments (USDC/USDT) into any payment system.

Built for AI coding agents (Claude Code, Cursor, Windsurf, Cline, Codex, etc.) that need to implement Solana payment flows.

What It Covers

Topic Details
Wallet Generation Ed25519 keypairs, base58 encoding, secure storage
Balance Checking ATA lookups for USDC + USDT, handling non-existent accounts
Transfer Detection Signature history, parsed transactions, pre/post balance diffs
Sweep Logic Master-as-fee-payer pattern (deposit wallet never needs SOL)
Payment Verification 3 approaches: balance query, WebSocket, tx history parsing
Commitment Levels processed vs confirmed vs finalized with use-case mapping
Transaction Retry Blockhash management, priority fees, error classification
Security Mint hardcoding, idempotency, token program validation
Production RPC Provider comparison (Helius, QuickNode, Triton, Alchemy)
Indexing Yellowstone gRPC, webhooks, when to scale beyond RPC polling
Devnet Testing Circle test USDC mint, faucets, testing checklist

Install

Claude Code

claude skill add sepivip/solana-payments-skill

Manual (any agent)

Clone into your agent's skills directory:

# Universal (.agents/skills/)
git clone https://github.com/sepivip/solana-payments-skill.git .agents/skills/solana-payments

# Claude Code
ln -s $(pwd)/.agents/skills/solana-payments .claude/skills/solana-payments

# Cursor
ln -s $(pwd)/.agents/skills/solana-payments .cursor/skills/solana-payments

Key Technical Decisions

**Why @solana/web3.js v1?** — v2 is a full API rewrite still stabilizing. v1 is battle-tested with comprehensive docs and community support.

**Why master-as-fee-payer for sweeps?** — Eliminates the SOL funding s