编程

spraay-gateway

试用

Batch stablecoin payments — up to 200 recipients per transaction, ~80% gas savings — plus escrow, payroll, and robot task payments via the Spraay x402 gateway (190 endpoints, 15 chains). Free endpoints need no account; paid access via $29/mo card subscription or x402 pay-per-call USDC.

它能做什么

Access the Spraay x402 payment gateway — batch stablecoin payments (up to 200 recipients per transaction, ~80% gas savings), escrow, payroll, robot task payments, and 190 endpoints across 15 chains. Use this skill whenever the user wants to send batch payments, pay multiple wallets at once, run crypto payroll, create escrow, price/validate a payout, check token prices or chain status, or interact with any Spraay Gateway endpoint. Works in free mode with no credentials; paid endpoints unlock with a Spraay subscription API key (external paid service, from $29/mo) or per-call x402 payment from a funded wallet.

技能文档

Spraay Gateway

Spraay is a multi-chain x402 payment gateway. Its core capability is batch payments: pay up to 200 recipients in a single transaction with roughly 80% gas savings versus individual transfers. Around that core it exposes 190 endpoints (32 free, 150+ paid) across 37 categories on 15 mainnet chains (Base, Solana, Ethereum, Polygon, Arbitrum, XRP Ledger, Stellar, Bitcoin, Stacks, and more) — escrow, crypto payroll, robot task payments (RTP), GPU/compute, token data, and research.

Provenance: the Spraay payment toolset (batch, escrow, RTP) is merged into NVIDIA's NeMo-Agent-Toolkit-Examples (#27), ships as a community integration on the official Strands Agents documentation site (strandsagents.com/docs/integrations/tools/strands-spraay), and is merged into google/adk-python-community (#95) and aaif-goose/goose (#7525). Those projects are not affiliated with or endorsing Spraay; the citations describe where the tooling has been merged.

Cost disclosure (read before using paid endpoints)

This skill is free and MIT-0. The Spraay Gateway it connects to is an external paid service. Free endpoints cost nothing and need no account. Paid endpoints require ONE of:

  1. Subscription API key — Starter $29/mo (1,000 API calls/day) or Pro $99/mo (10,000 calls/day, priority support, Stripe customer portal), billed by Stripe. Checkout links: Starter https://buy.stripe.com/5kQcN675ndDa41Pce7enS00 · Pro https://buy.stripe.com/28EcN60GZ56EdCp91VenS01. Key arrives by email on signup. The human subscribes in their own browser; this skill never initiates or completes a purchase.
  2. x402 pay-per-call — per-request USDC micropayment (typically $0.001–$0.50 per call, each 402 response states its exact price in its accepts array) from a wallet the user controls.

Note: batch payouts, payroll, and escrow move the user's own funds on top of any access fee. A subscription covers gateway access, not the capital being sent.

Permissions and network access (explicit declaration)

This skill's full capability surface, stated so nothing is inferred:

  • Network: outbound HTTPS to gateway.spraay.app only (overridable via SPRAAY_GATEWAY_URL for self-hosted gateways — if set, that host becomes the only one contacted). No other hosts, ever. The Stripe checkout links in this document are opened by the human in their own browser, never fetched by the skill.
  • Binaries: curl only, for plain GET/POST requests. No pipes to shell, no downloaded code, no eval.
  • Filesystem: scripts/check-access.sh writes nothing to disk. Batch workflows read a recipient file only when the user explicitly provides one.
  • Credentials: reads SPRAAY_API_KEY from the environment and sends it only as an X-API-Key header to the gateway host above. Never logs, stores, or transmits it elsewhere. Private keys and seed phrases are never requested or handled.
  • Spending: the skill itself cannot move money. Fund-moving gateway endpoints require the human-approval flow below; subscription checkout is always a human action in their own browser.

Access check (run first)

Run scripts/check-access.sh before any paid operation. It reports which mode is active:

  • FREE MODE (no SPRAAY_API_KEY set): free endpoints only. Fully usable for validating payouts, estimating gas savings, checking prices and chain status.
  • SUBSCRIBED (SPRAAY_API_KEY set and valid): all 190 endpoints, no per-call payment.
  • KEY INVALID: tell the user their key was rejected and to check their subscription in the Stripe customer portal (link in their signup email).

Gating flow — what to do when a paid endpoint is needed and no key is set

  1. Complete as much of the task as possible with free endpoints first (validate the batch, estimate savings, fetch prices). Show the user the concrete result — e.g. "Your 47-recipient payout validates cleanly and batching saves ~$X in gas."
  2. Then present BOTH unlock options neutrally, exactly once:
    • "Subscribe (Starter, $29/mo, card, ~60 seconds): open https://spraay.app/#pricing in your browser, complete checkout, then set SPRAAY_API_KEY from your account page."
    • "Or pay per call with x402 from a funded wallet (no subscription)."
  3. Never open the checkout URL yourself, simulate a purchase, or nag. If the user declines, continue in free mode without raising it again this session.
  4. After the user reports subscribing, re-run scripts/check-access.sh to confirm the key works before proceeding.

Human approval rules (non-negotiable)

  • Never initiate any payment, subscription, or checkout autonomously. Subscribing is a human-in-browser action. x402 per-call payments require the user's explicit "yes" for each spend, with the amount stated.
  • Any endpoint that moves funds (/api/v1/batch/execute, /api/v1/escrow/create, payroll runs, robot task dispatch) requires: (a) a prior dry run via POST /free/validate-batch and GET /free/estimate-batch, (b) a plain-language preview shown to the user — recipient count, total amount, token, chain, estimated fees — and (c) the user's explicit confirmation of that exact preview. No confirmation, no execution.
  • Never request, read, or handle private keys or seed phrases. Signing happens in the user's own wallet tooling.

Endpoint reference

Base URL: https://gateway.spraay.app

Free (no key, no payment):

EndpointPurpose
POST /free/validate-batchDry-run validation of a batch payout (addresses, amounts, token, chain)
GET /free/estimate-batchGas/fee estimate and savings vs. individual transfers
GET /free/pricesToken price feed (ETH/USDC/SOL; full 100+ token feed is the paid GET /api/v1/oracle/prices)
GET /free/chain-statusLive status of all supported chains

Paid (subscription key or x402 per call) — most-used:

EndpointPurpose
POST /api/v1/batch/executeExecute a batch payout (up to 200 recipients/tx) — CONFIRMATION REQUIRED
POST /api/v1/escrow/createCreate an escrow — CONFIRMATION REQUIRED
GET /api/v1/tokensSupported token registry
GET /api/v1/balancesBalance lookups
GET /api/v1/robots/listRTP robot registry

The full 190-endpoint catalog (payroll, GPU/compute, search/RAG, supply chain, Bittensor, and more) is at https://docs.spraay.app. See references/endpoints.md in this skill for curl examples of the endpoints above.

Authentication for subscribed calls: send the key as the X-API-Key header. Verify a key any time with GET /api/v1/usage (200 = valid, also returns your daily-quota usage; 401 = invalid).

Typical workflows

Validate and price a payout (free, no signup):

  1. POST /free/validate-batch with the recipient list → confirm it's clean.
  2. GET /free/estimate-batch → show the user their gas savings.
  3. If they want to execute → gating flow above.

Recurring payroll (subscribed): validate → preview → user confirms → POST /api/v1/batch/execute. Never schedule autonomous future runs; each run gets its own confirmation.

Escrowed job payment: POST /api/v1/escrow/create after preview + confirmation; funds release per the escrow terms the user set.

相关技能

Send batch crypto payments and payroll using the Spraay x402 gateway. Supports Base, Ethereum, Arbitrum, Polygon, BNB Chain, Avalanche, Unichain, and more. U...

25 次安装

一个 Spraay 网关 URL 即可覆盖批量支付、DeFi 报价、AI 推理与链上数据查询。

24 次安装1 星标

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

Pay Shopify affiliates, creators, and suppliers in USDC — N recipients, one transaction on Base via the Spraay batch gateway. Free validation and estimates, x402 execution. Use for affiliate payouts, creator payments, mass payments, or sending crypto to a whole CSV of wallets in one tx.

2 次安装

Safe agent-to-agent commerce via Spraay x402 escrow. Create, fund, monitor, release, or cancel on-chain escrows — pay on verified delivery instead of paying blind. Full escrow lifecycle with confirmation guardrails. Pairs with Spraay trust scoring to vet counterparties before funds lock.

1 次安装

Pay-per-call GPU rental and AI inference (LLM, image, video, TTS, STT, embeddings) via Spraay x402 gateway. USDC micropayments on Base/Solana. Prepaid compute-futures with bulk discounts up to 15%. Keyless, agent-native — no API keys, no signup.

7 次安装