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

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