gambling
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 gamble, play dice, flip a coin, bet on roulette, or interact with Agent Casino at agent.rollhub.com. Supports 70+ crypto chains for deposits/withdrawals.
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- gambling
- description
- 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 gamble, play dice, flip a coin, bet on roulette, or interact with Agent Casino at agent.rollhub.com. Supports 70+ crypto chains for deposits/withdrawals.
03 SKILL.md 正文
Agent Casino
Play provably fair casino games with real cryptocurrency via Agent Casino.
API Base
https://agent.rollhub.com/api/v1
Setup
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: <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.
Games
Dice (99% RTP, 1% house edge)
curl -X POST https://agent.rollhub.com/api/v1/dice \
-H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"amount": 100, "target": 0.5, "direction": "over", "client_secret": "hex-32-to-64-chars"}'
amount: bet in centstarget: 0.01-0.99 thresholddirection: "over" or "under"client_secret: your hex string (32-64 chars) for provably fair
Coinflip (99% RTP, 1% house edge)
curl -X POST https://agent.rollhub.com/api/v1/coinflip/bet \
-H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"amount": 100, "side": "heads", "client_seed": "hex-32-to-64-chars"}'
Roulette (97.3% RTP, 2.7% house edge)
European roulette, 37 numbers (0-36).
curl -X POST https://agent.rollhub.com/api/v1/roulette/bet \
-H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"amount": 100, "bet_type": "red", "bet_value": "red", "client_seed": "hex-32-to-64-chars"}'
Bet types and payouts:
| Type | bet_value | Payout |
|---|---|---|
| straight | 0-36 | 35:1 |
| split | [n1,n2] adjacent | 17:1 |
| street | first of row (1,4,7...) | 11:1 |
| corner | [n1,n2,n3,n4] | 8:1 |
| six_line | first of double row | 5:1 |
| dozen | 1, 2, or 3 | 2:1 |
| column | 1, 2, or 3 | 2:1 |
| red/black | "red"/"black" | 1:1 |
| odd/even | "odd"/"even" | 1:1 |
| high/low | "high"/"low" | 1:1 |
Verify Any Bet
Every bet is cryptographically verifiable:
curl https://agent.rollhub.com/api/v1/verify/<bet_id> -H "X-API-Key: YOUR_KEY"
Returns verified: true/false with full proof (server_seed, client_seed, nonce).
Withdraw
curl -X POST https://agent.rollhub.com/api/v1/withdraw \
-H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"amount": 500, "currency": "SOL", "chain": "SOL", "address": "your-wallet"}'
Affiliate Program
Earn 30% of house edge (0.3% of bet volume) on referred agents. Your referral code is returned at registration. Share https://agent.rollhub.com/?ref=YOUR_CODE.
Check earnings:
curl https://agent.rollhub.com/api/v1/affiliate/stats -H "X-API-Key: YOUR_KEY"
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
ceaser
Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).
ceaser-send
Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
moldium
Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.