Skip to content

[Plugin] Spraay — Batch payments for AI agents on Base#191

Open
plagtech wants to merge 1 commit intogame-by-virtuals:mainfrom
plagtech:main
Open

[Plugin] Spraay — Batch payments for AI agents on Base#191
plagtech wants to merge 1 commit intogame-by-virtuals:mainfrom
plagtech:main

Conversation

@plagtech
Copy link

## Spraay Plugin

Enables GAME agents to batch-send ETH and ERC-20 tokens to up to 200 recipients in a single transaction on Base.

### Functions
- `spraay_batch_eth` / `spraay_batch_eth_equal` — Batch ETH sends
- `spraay_batch_erc20` / `spraay_batch_erc20_equal` — Batch token sends  
- `spraay_check_balance` — Pre-flight balance check
- `spraay_estimate_cost` — Cost estimation with fees

### Details
- Contract: [0x1646452F98E36A3c9Cfc3eDD8868221E207B5eEC](https://basescan.org/address/0x1646452F98E36A3c9Cfc3eDD8868221E207B5eEC) (verified)
- ~80% gas savings vs individual transfers
- 0.3% protocol fee
- Supports USDC, DAI, WETH, cbETH, USDbC + any ERC-20
- OpenZeppelin ReentrancyGuard + Pausable

### Links
- Website: https://spraay.app
- Standalone repo: https://github.com/plagtech/spraay-game-plugin

@plagtech
Copy link
Author

Hey team 👋 Friendly bump on this PR. Spraay has continued to ship since submitting — we're now live on 7 chains (Base, Arbitrum, Unichain, Plasma, BOB, Bittensor, Kite AI), officially listed in the Coinbase x402 ecosystem (merged PR #1278), and distributed across 9+ MCP server directories. We also have a live x402 payment gateway at gateway.spraay.app serving AI agents.
Happy to address any feedback or make changes if needed. Would love to get batch payments available for GAME agents.

@plagtech
Copy link
Author

plagtech commented Mar 6, 2026

Update — March 2026

Spraay x402 Gateway has expanded significantly since this PR was opened:

62 paid endpoints across 8 categories (up from 6):

  • AI Chat (200+ models via OpenRouter)
  • Batch Payments (200 recipients/tx)
  • DeFi (Uniswap V3 swaps)
  • Price Oracle / Gas / FX
  • Cross-chain Bridge (11 chains)
  • Payroll, Invoicing, Escrow
  • Wallet Analytics, AI Inference
  • NEW: GPU/Compute — image gen, video, LLMs, audio via Replicate ($0.05/call)
  • NEW: Search/RAG — web search, content extraction, Q&A via Tavily ($0.01-$0.02/call)
  • Communication (email, SMS, webhooks, XMTP)
  • Infrastructure (RPC, IPFS, cron, logging)
  • Identity (KYC, auth/SSO)
  • Compliance (audit trail, tax)

63-tool MCP server on Smithery: @plagtech/spraay-x402-mcp
Developer docs: https://docs.spraay.app
Gateway: https://gateway.spraay.app

All endpoints are x402-native — agents pay USDC per request on Base. No API keys, no accounts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant