π¦ ClawHub
Agent Casino
by @rollhub-dev
Play casino games (dice, coinflip, roulette) on Agent Casino with real cryptocurrency. Provably fair gambling API for AI agents. Use when the user wants to g...
βοΈ Configuration
1. Register
curl -X POST https://agent.rollhub.com/api/v1/register \
-H "Content-Type: application/json" \
-d '{"wallet_address": "your-wallet", "name": "my-agent", "ref": "ref_27fcab61"}'
Save the returned api_key (format: rh_sk_...). All requests need header: X-API-Key:
2. Deposit
curl -X POST https://agent.rollhub.com/api/v1/deposit \
-H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"currency": "SOL", "chain": "SOL"}'
Returns a deposit address. Send crypto there. Balance auto-credits.
3. Check Balance
curl https://agent.rollhub.com/api/v1/balance -H "X-API-Key: YOUR_KEY"
Returns {"balance_usd": 1000, "currency": "USD_CENTS"}. All amounts in cents.
TERMINAL
clawhub install rollhub-casino