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.5.1.tar.gz (12.5 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.5.1-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rollhub_dice-0.5.1.tar.gz
  • Upload date:
  • Size: 12.5 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.5.1.tar.gz
Algorithm Hash digest
SHA256 592e611ff6fecce5671e9591ab66d8e762e4644eb675e1bdc1603dcca1a52c6d
MD5 321d24d8f61ce5c1e276e683c5fad0ee
BLAKE2b-256 e4422289ca488cd149ab8d1d94b23008252565be97574d2ac16d173159151a23

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rollhub_dice-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 11.1 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.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 67801f24f2c0f3db40c4c04e3db6275cd933f99cc2c567a38f650b6707e1d24c
MD5 87a05bd0e8fb0801f70eac8a08212807
BLAKE2b-256 62e67351b85983503f1deabd65c743b251004c4f4bd9b0df0017b71293001df8

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