Spraay Solana Gateway β Batch Payments For Ai Agents On Solana
Description
# π§ Spraay Solana Gateway **x402-powered batch payment infrastructure for AI agents on Solana.** Any AI agent can batch send SOL, USDC, BONK, or any SPL token to 1,000+ wallets via the x402 payment protocol. No API keys. No accounts. Pay per request. ## ποΈ Architecture ``` AIβ¦
About
# π§ Spraay Solana Gateway **x402-powered batch payment infrastructure for AI agents on Solana.** Any AI agent can batch send SOL, USDC, BONK, or any SPL token to 1,000+ wallets via the x402 payment protocol. No API keys. No accounts. Pay per request. ## ποΈ Architecture ``` AI Agent (any framework) β βββ HTTP Request ββ¦
Details
- Author
- plagtech
- Downloads
- 240
- Categories
- Other, AI
Jump to
- x402 payment protocol with perβrequest billing
- Batch send SOL, USDC, BONK, or any SPL token
- Send to 1,000+ wallets in a single request
- No API keys, no accounts required
- Builtβin MCP server for AI agent frameworks
- Health check and x402 discovery endpoints
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Spraay Solana Gateway β Batch Payments For Ai Agents On SolanaCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Clone the repository, install dependencies, configure environment variables (treasury wallet and private key), and run npm run dev or npm start. Use the provided HTTP endpoints (e.g., POST /solana/batch-send-sol) with an X-PAYMENT header containing a base64 payment proof. An MCP server is also included for AI agent framework integrationβrun node mcp/spraay-solana-mcp.js to expose tools like spraay_solana_batch_send_sol.
spraay_solana_batch_send_sol
Batch send SOL to multiple Solana wallets in one call. Supports up to 1000 recipients. Auto-chunks large batches. Costs $0.01 USDC via x402 protocol.
spraay_solana_batch_send_token
Batch send any SPL token (USDC, BONK, WIF, JUP, etc.) to multiple Solana wallets. Auto-creates token accounts. Costs $0.01 USDC via x402.
spraay_solana_quote
Get a cost estimate for a Spraay batch send on Solana. Returns fees, tx count, and timing. Costs $0.001 USDC via x402.
spraay_solana_status
Check the status of a Solana transaction by its signature. Costs $0.001 USDC via x402.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"spraay solana gateway \u2014 batch payments for ai agents on solana": {
"spraay-solana": {
"url": "https://gateway-solana.spraay.app/mcp"
}
}
}
}
McpServers
{
"spraay-solana": {
"url": "https://gateway-solana.spraay.app/mcp"
}
}
π§ Spraay Solana Gateway
x402-powered batch payment infrastructure for AI agents on Solana.
Any AI agent can batch send SOL, USDC, BONK, or any SPL token to 1,000+ wallets via the x402 payment protocol. No API keys. No accounts. Pay per request.
ποΈ Architecture
AI Agent (any framework)
β
βββ HTTP Request
β
βΌ
ββββββββββββββββββββββββββββββββββββββββββββ
β Spraay Solana Gateway β
β gateway-solana.spraay.app β
β β
β @x402/express + @x402/svm β
β βββββββββββββββ ββββββββββββββββ β
β β x402 Paymentβ β Solana Batch β β
β β Middleware β β Engine β β
β ββββββββ¬βββββββ ββββββββ¬ββββββββ β
β β β β
β βΌ βΌ β
β USDC payment Execute batch β
β verified via SOL/SPL transfers β
β facilitator β
ββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
Solana Network
π‘ Endpoints
| Endpoint | Method | Price | Description |
|----------|--------|-------|-------------|
| /solana/batch-send-sol | POST | $0.01 | Batch send SOL to multiple wallets |
| /solana/batch-send-token | POST | $0.01 | Batch send any SPL token |
| /solana/quote | GET | $0.001 | Get cost estimate |
| /solana/status/:txid | GET | $0.001 | Check transaction status |
| /health | GET | Free | Health check |
| /.well-known/x402 | GET | Free | x402 discovery manifest |
π Quick Start
1. Clone & Install
git clone https://github.com/plagtech/spraay-solana-gateway.git
cd spraay-solana-gateway
npm install
2. Configure
```bash
cp .env.example .env
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




