Skip to content

feat: Add Spraay batch payment crew - Batch payments on Base#314

Open
plagtech wants to merge 1 commit intocrewAIInc:mainfrom
plagtech:feat/add-spraay-batch-payments
Open

feat: Add Spraay batch payment crew - Batch payments on Base#314
plagtech wants to merge 1 commit intocrewAIInc:mainfrom
plagtech:feat/add-spraay-batch-payments

Conversation

@plagtech
Copy link

Spraay Batch Payment Crew

Adds a new crew example demonstrating AI agents for batch cryptocurrency payments on Base.

What this example shows

  • Creating custom CrewAI tools using BaseTool with Pydantic schemas
  • Multi-agent sequential workflow (Planner → Executor → Reporter)
  • Real smart contract interaction via web3.py
  • Input validation and error handling for blockchain operations

Use case

Batch payments for payroll, airdrops, DAO distributions, and grants. Up to 200 recipients in a single transaction with ~80% gas savings.

Files

  • crews/spraay_batch_payments/spraay_batch_payment_crew.py
  • crews/spraay_batch_payments/README.md

Dependencies

crewai, crewai-tools, web3

Contract: 0x1646452F98E36A3c9Cfc3eDD8868221E207B5eEC (Base mainnet)

@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