← ClaudeAtlas

solana-agent-paymentslisted

The money layer for AI agents on Solana. Lets an agent PAY for APIs/data/compute and other agents (x402 micropayments in USDC), GET PAID by monetizing its own APIs/MCP tools behind HTTP 402, and SPEND SAFELY behind non-custodial wallets with hard, enforced limits — never a raw god-mode private key. Covers x402 v2 (client + server + facilitator), Squads v4 spending limits, Privy/Turnkey/Coinbase-CDP/Crossmint agent wallets, AP2 mandates, and USDC settlement. Use when building agents that transact, paywalling an API/MCP for agent consumers, or hardening an agent's spending controls.
Azzaraell/agent-payments-x402 · ★ 0 · AI & Automation · score 75
Install: claude install-skill Azzaraell/agent-payments-x402
# Solana Agent Payments Skill > **The missing money layer for autonomous agents.** `solana-agent-kit` and friends give an agent the ability to *act*. This skill gives it the ability to **pay, get paid, and spend safely** — without ever handing it an uncapped private key. ## The problem this solves AI agents increasingly need to move money: pay per-call for data/compute, settle with other agents, and charge for their own services. The pattern almost everyone ships today is a **footgun**: ```ts // The god-mode default — seen in most agent kits, including solana-agent-kit quickstarts const keypair = Keypair.fromSecretKey(bs58.decode(process.env.SOLANA_PRIVATE_KEY!)); const wallet = new KeypairWallet(keypair); // unlimited authority over every lamport ``` One prompt injection, one hallucinated tool call, one loop bug — and the agent can drain the wallet to any address. There is **no budget, no per-transaction cap, no destination allowlist, no audit trail, and no kill switch.** This skill replaces that default with enforced, non-custodial spending controls, and wires up the two sides of agent commerce (paying and getting paid) the way the 2026 stack actually does it. ## What this skill is for Use this skill when the user asks for any of: ### 1. Pay — agent consumes paid resources - "Let my agent pay for this API without an API key" / "pay per request in USDC" - Consume x402-paywalled endpoints, MCP servers, or another agent's service - Budget-tracked autonomous spend → [p