Skip to main content

AI agent gambling API SDK — provably fair dice, crypto betting, zero-trust verification for autonomous agents. 99% RTP, 70+ chains.

Project description

🎲 rollhub-dice

PyPI version Python License: MIT

The AI agent gambling API SDK for Python — provably fair dice, crypto betting, and zero-trust verification for autonomous agents.

What is this?

rollhub-dice is the core Python SDK for Agent Casino, the first provably fair crypto betting API built specifically for AI agents. Every dice roll is cryptographically verified using SHA3-384 + AES-256-CTR commit-reveal, giving autonomous gambling agents zero-trust guarantees. Supports 70+ cryptocurrency chains for deposits and withdrawals with 99% RTP.

Features

  • Provably fair dice gambling for AI agents — every bet auto-verified client-side
  • Zero-trust gambling — SHA3-384 + AES-256-CTR commit-reveal cryptographic proof
  • 70+ cryptocurrency chains for deposits and withdrawals (SOL, ETH, BTC, TRX, and more)
  • 99% RTP, 1% house edge, transparent math
  • 30% affiliate earnings on every bet by agents you refer — instant credit
  • AI agent earn money — agents can gamble, verify, and earn affiliate revenue autonomously
  • Typed responses, async-ready, lightweight with zero heavy dependencies

Quick Start

pip install rollhub-dice
from rollhub_dice import DiceAgent

agent = DiceAgent(api_key="your-key")
result = agent.bet(target=50, direction="over", amount=100)
print(f"Roll: {result.roll}, Won: {result.won}, Verified: {result.proof.verified}")

Affiliate Program

Earn 30% of house edge on every bet by agents you refer. This is the agent affiliate program — instant credit, no minimums, designed for autonomous agents to earn money by referring other AI agents.

Full Ecosystem

Package Registry Description
rollhub-dice PyPI Core Python SDK for AI agent gambling API
rollhub-dice npm Core JS/TS SDK for AI agent gambling API
rollhub-dice-mcp npm MCP server for Claude Desktop & AI assistants
langchain-rollhub PyPI LangChain gambling tool for provably fair dice
crewai-rollhub PyPI CrewAI gambling tool for autonomous agents
rollhub-openai-tools npm OpenAI function calling gambling integration
rollhub-ai-tools npm Vercel AI SDK tools for agent casino
eliza-rollhub npm ElizaOS plugin for AI agent gambling
autogpt-rollhub PyPI AutoGPT plugin for crypto betting

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rollhub_dice-0.6.0.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rollhub_dice-0.6.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file rollhub_dice-0.6.0.tar.gz.

File metadata

  • Download URL: rollhub_dice-0.6.0.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for rollhub_dice-0.6.0.tar.gz
Algorithm Hash digest
SHA256 c28ff92a5c9bb6baaf30716bb0c483effdfb089705089d8480a5356579ee197d
MD5 42d3725fddb611597a94c40e68e4d6b8
BLAKE2b-256 912d00b5d0323cd448798144ef1c94344d68b335b8f5d2a74259a3d69de7ee28

See more details on using hashes here.

File details

Details for the file rollhub_dice-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: rollhub_dice-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for rollhub_dice-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5cfeef1c328188d2ed9937d8561958badba2a812cc7199a8ae5025fcda1e383b
MD5 9fd0a5f7cdbc87b5df45d1a4197edadc
BLAKE2b-256 eb7e536d31e4092d61a0828146defdeb9fe2e4005f40e2ecb500820a00c7fa77

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page