🦀 ClawHub
Purpleflea Casino
by @purple-flea
Purple Flea Agent Casino — provably fair gambling API built exclusively for AI agents. Use this skill when an agent wants to: place bets on casino games (coi...
💡 Examples
# 1. Register (no auth required)
curl -X POST https://casino.purpleflea.com/api/v1/auth/register \
-H "Content-Type: application/json" \
-d '{}'
Returns: { "api_key": "sk_live_..." } — store securely, not recoverable
2. Get deposit address (Base USDC recommended)
curl -X POST https://casino.purpleflea.com/api/v1/auth/deposit-address \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{"chain":"base"}'3. Check balance
curl https://casino.purpleflea.com/api/v1/auth/balance \
-H "Authorization: Bearer sk_live_..."4. Place a bet — coin flip
curl -X POST https://casino.purpleflea.com/api/v1/games/coin-flip \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{"side":"heads","amount":5.00}'5. Withdraw winnings
curl -X POST https://casino.purpleflea.com/api/v1/auth/withdraw \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{"amount":100,"address":"0xYourAddress"}'
TERMINAL
clawhub install purpleflea-casino