Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

solana-batch-payments

БесплатноЗапускает вложенные скриптыНе проверен

Batch send SOL, USDC, BONK, or any SPL token to up to 1,000 wallets in one request — plus Jupiter swap quotes, Helius portfolio lookups, and Pyth price feeds…

plagtechот plagtech683 установки в других каталогах

Об этом скилле

Solana Batch Payments (Spraay Gateway)

Send SOL or any SPL token to up to 1,000 wallets in a single request, non-custodially, paid per-call via x402. No signup, no API key, no private key handed to anyone.

Real assets warning: every batch send moves real on-chain tokens and spends real SOL for network fees. SPL token sends may also create recipient Associated Token Accounts (ATAs) at the sender's expense (rent ≈ 0.002 SOL each). Always run on devnet first, start with small amounts on mainnet, and review the pre-sign summary before authorizing any transaction.

Why this instead of a wallet skill

  • Non-custodial by design. Endpoints return base64 unsigned transactions. You sign locally with the sender wallet and submit. The gateway never holds funds or keys.
  • Batch is the primitive. 1 recipient or 1,000 — one request, auto-chunked into optimally packed transactions (14 SOL transfers/tx, 7 SPL transfers/tx with ATA creation).
  • x402 native. Each call is paid with a tiny USDC payment on Solana. 402 Payment Required → pay → retry with proof. Agents with any x402 client can use it immediately.

Gateways

Base URL What's there
https://gateway-solana.spraay.app Batch sends, quotes, tx status (this skill's core)
https://gateway.spraay.app Jupiter swaps, Helius assets, Pyth prices + 180 more x402 endpoints

Discovery manifests: GET /.well-known/x402 on either gateway (free).

Endpoints — Solana Gateway

Endpoint Method Price Description
/solana/batch-send-sol POST $0.01 Build unsigned batch SOL transfer txs
/solana/batch-send-token POST $0.01 Build unsigned batch SPL token transfer txs (auto-creates recipient ATAs)
/solana/quote GET $0.001 Estimate network fees + tx count before committing
/solana/status/:txid GET $0.001 Confirmation status, slot, fee, explorer link
/health GET Free Liveness + network info
/.well-known/x402 GET Free Machine-readable manifest

A 0.3% transfer fee (30 bps) is added as an instruction inside the batch — visible in the returned transactions before you sign. Nothing is hidden.

Endpoints — Solana on the main gateway

Endpoint Method Price Description
/api/v1/solana/jupiter/quote GET $0.005 Jupiter swap quote (any SPL pair)
/api/v1/solana/jupiter/swap-tx POST $0.01 Build unsigned Jupiter swap transaction
/api/v1/solana/helius/assets-by-owner GET $0.003 All tokens/NFTs a wallet holds (Helius DAS)
/api/v1/solana/helius/asset GET $0.002 Single asset lookup
/api/v1/solana/pyth/price GET $0.005 Pyth price feed, single asset
/api/v1/solana/pyth/prices GET $0.008 Pyth price feeds, batched
/free/dex/trending GET Free Trending tokens/pairs (filter chain=solana)
/free/prices GET Free USDC/ETH/SOL spot prices

Workflow: batch airdrop in 4 steps

  1. Quote (optional but recommended): GET /solana/quote?recipients=250&token=BONK → tx count + network fees. Always quote first for batches > 50 recipients and show the user the estimated cost (network fees, ATA rent, protocol fee) before building.
  2. Build: POST /solana/batch-send-token with mint, recipients[], and sender (the payer public key). Handle the x402 402→pay→retry flow (see reference.md).
  3. Verify before signing: The response contains transactions[] (base64, unsigned) + blockhash. Before signing, decode and inspect each transaction — see the pre-sign verification checklist below. Never blind-sign gateway-returned transactions.
  4. Sign & submit: After verification, sign each with the sender keypair, submit to any RPC.
  5. Confirm: GET /solana/status/<signature> for each tx.

Pre-sign verification checklist

Before signing any transaction returned by the gateway, decode and confirm:

  • The transaction's fee payer matches the sender public key
  • Every transfer instruction targets only addresses from the original request
  • Transfer amounts match the requested amounts
  • The token mint (for SPL sends) matches the requested mint
  • The protocol fee instruction (0.3%, 30 bps) matches the expected amount
  • Program IDs are only the expected ones (System Program, Token Program, Associated Token Account Program)
  • There are no unexpected additional instructions
  • The total outflow across all transaction chunks equals the intended batch total
  • The blockhash is current (not expired)

Agents and scripts MUST perform this verification programmatically. The helper scripts/sign-and-send.js is a convenience reference — it does not perform full instruction validation. For production use, wrap it with verification logic or use the decoded transaction inspection pattern shown in reference.md.

Example request

curl -X POST h
Полный SKILL.md на ClawHub

Установить solana-batch-payments в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл solana-batch-payments?

Batch send SOL, USDC, BONK, or any SPL token to up to 1,000 wallets in one request — plus Jupiter swap quotes, Helius portfolio lookups, and Pyth price feeds — via Spraay's x402 pay-per-call gateways. Non-custodial: the gateway returns unsigned transactions that YOUR wallet signs, so no private keys in env vars, no API keys, no accounts. Use when the user wants to airdrop tokens, do a mass payout, distribute community/creator rewards, pay a team or contributor list, batch send SOL or SPL tokens to many addresses, get a swap quote, check what tokens a wallet holds, or fetch Solana token prices. Pay per call with USDC on Solana via x402.

Как установить скилл solana-batch-payments?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл solana-batch-payments запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить solana-batch-payments с