Spraay payments
Skill plagtech/spraay-payments
Send batch crypto payments and payroll using the Spraay x402 gateway. Supports Base, Ethereum, Arbitrum, Polygon, BNB Chain, Avalanche, Unichain, and more. Use when the user asks to send payments, batch transfer, pay multiple wallets, crypto payroll, create invoice, check balance, or resolve ENS/Basename addresses.From its SKILL.md
npx -y skills add plagtech/spraay-paymentsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
5.0 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it
Spraay Payments π§
Batch crypto payments and payroll via the Spraay x402 gateway.
All requests in this skill go exclusively to the user's configured
SPRAAY_GATEWAY_URL. No data is sent to any other external endpoint.
Important Warnings
Blockchain transactions are irreversible. Once a batch payment or transfer is executed on-chain, it cannot be undone. Always confirm the following with the user before executing any payment:
- Recipient addresses are correct
- Token type and chain are intended
- Amounts are accurate
- The user understands x402 micropayment fees will be charged per API call
Real funds are involved. Every paid endpoint costs a small USDC micropayment via the x402 protocol. Batch payments move real tokens on real blockchains. Do not execute payments without explicit user confirmation.
Setup
The gateway URL must be set in your environment or openclaw.json:
SPRAAY_GATEWAY_URL=https://gateway.spraay.app
No API key is needed. Payments are made per-request via the x402 HTTP payment protocol (HTTP 402 β pay β retry). An x402-compatible wallet (Coinbase CDP or similar) handles this automatically.
Supported Chains
Base, Ethereum, Arbitrum, Polygon, BNB Chain, Avalanche, Unichain, Plasma, BOB.
Payment contract (Base): 0x1646452F98E36A3c9Cfc3eDD8868221E207B5eEC
Workflows
Batch Payments
Send tokens to multiple wallets in one transaction. Saves 60-80% on gas compared to individual transfers.
Always confirm recipients, amounts, token, and chain with the user before executing.
curl -X POST "$SPRAAY_GATEWAY_URL/api/batch-payment" \
-H "Content-Type: application/json" \
-d '{
"recipients": [
{"address": "0xABC...123", "amount": "10"},
{"address": "0xDEF...456", "amount": "25"}
],
"token": "USDC",
"chain": "base"
}'
If you receive HTTP 402, the response body contains payment instructions. Pay
the facilitator, then retry with the X-PAYMENT header containing the proof.
Payroll
Payroll uses the same batch payment endpoint. ENS and Basename addresses resolve automatically.
Always confirm the payroll roster with the user before sending.
curl -X POST "$SPRAAY_GATEWAY_URL/api/batch-payment" \
-H "Content-Type: application/json" \
-d '{
"recipients": [
{"address": "alice.eth", "amount": "3000"},
{"address": "bob.base", "amount": "2500"}
],
"token": "USDC",
"chain": "base",
"memo": "March 2026 payroll"
}'
Check Token Balance
curl "$SPRAAY_GATEWAY_URL/api/balance?address=0xABC...&chain=base"
Create Invoice
curl -X POST "$SPRAAY_GATEWAY_URL/api/create-invoice" \
-H "Content-Type: application/json" \
-d '{
"recipient": "0xABC...123",
"amount": "500",
"token": "USDC",
"chain": "base",
"memo": "March consulting"
}'
Resolve ENS / Basename (Free β No Payment Required)
curl "$SPRAAY_GATEWAY_URL/api/resolve?name=vitalik.eth"
Token Price (Free β No Payment Required)
curl "$SPRAAY_GATEWAY_URL/api/price?symbol=ETH"
Use this to show users the USD value of their payment before executing.
Free Endpoints
These require no x402 payment:
GET /api/price?symbol=ETHβ Token pricesGET /api/resolve?name=vitalik.ethβ ENS/Basename resolutionGET /api/healthβ Gateway health checkGET /api/chainsβ List supported chains
x402 Payment Flow
- Call any paid endpoint.
- Receive HTTP 402 with payment details.
- Agent wallet sends micropayment to the facilitator.
- Retry the request with the
X-PAYMENTproof header. - Receive the response.
Typical cost: fractions of a cent in USDC on Base.
Error Handling
402β Payment required. Follow instructions in response body.400β Bad request. Check parameters.404β Endpoint not found.500β Server error. Retry after a moment.
Tips
- Always confirm with the user before sending any payment.
- Use
/api/priceto show USD values before executing. - Resolve ENS/Basenames first to validate addresses.
- Chain defaults to
baseif not specified. - Token defaults to
USDCif not specified.
Links
- App: https://spraay.app
- Docs: https://docs.spraay.app
- GitHub: https://github.com/plagtech
What ships with it: 3 files
3.3 KB alongside SKILL.md, 1 of them executable
examples/
- workflows.md1.1 KB
scripts/
- health-check.shruns398 B
- README.md1.8 KB