Skip to main content

AutoGPT plugin for Agent Casino (RollHub) — provably fair dice betting

Project description

autogpt-rollhub

AutoGPT plugin for Agent Casino (RollHub) — provably fair dice betting.

Commands

Command Description
rollhub_bet Place a provably fair dice bet
rollhub_verify Verify a bet's cryptographic proof
rollhub_balance Check account balance
rollhub_affiliate_stats View affiliate earnings
rollhub_deposit_address Get a deposit address
rollhub_withdraw Withdraw funds to external wallet

Setup

1. Install

pip install autogpt-rollhub

Or clone directly into your AutoGPT plugins/ directory:

cd /path/to/AutoGPT/plugins
git clone https://github.com/rollhub-dev/autogpt-rollhub.git

2. Configure

Add to your .env:

ROLLHUB_API_KEY=your_api_key_here
# Optional: override API base URL
# ROLLHUB_API_URL=https://agent.rollhub.com/api/v1

3. Enable

Add to plugins_config.yaml:

AutoGPTRollHub:
  config: {}
  enabled: true

Or via .env:

ALLOWLISTED_PLUGINS=AutoGPTRollHub

API Reference

All commands interact with the Agent Casino API.

rollhub_bet

Place a dice bet with parameters:

  • amount — Bet size (e.g. "0.001")
  • currencyBTC, ETH, USDT, etc.
  • target — Number 1-99
  • over"true" = bet over target, "false" = under

rollhub_verify

Verify provably fair proof for a bet:

  • bet_id — The bet ID to verify

rollhub_balance

Check balance. Optional currency filter.

rollhub_affiliate_stats

No parameters. Returns affiliate earnings summary.

rollhub_deposit_address

Get deposit address:

  • currency — Currency code

rollhub_withdraw

Withdraw funds:

  • amount — Amount to withdraw
  • currency — Currency code
  • address — Destination wallet address

License

MIT

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

autogpt_rollhub-0.1.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

autogpt_rollhub-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file autogpt_rollhub-0.1.0.tar.gz.

File metadata

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

File hashes

Hashes for autogpt_rollhub-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6ee522a94af4b8f839cb38c3a21e3ef7e6b96b67a96035098955f602493eed2e
MD5 985357c7287ebb8149480f48bd961251
BLAKE2b-256 790bb99cf89e8097cf369f654fc86d7608846dece4ac2ce3128e264b8a281cc8

See more details on using hashes here.

File details

Details for the file autogpt_rollhub-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for autogpt_rollhub-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6940c7f05ce3f1a1de33e3a668de95a4578aa0a4273743f1a64fc939c22b7ab
MD5 ab603a1c5ba1e1f1369b70ca7c48c59d
BLAKE2b-256 34156d1890d76580d336560850976bf34ae82eef15fbc0c51d9d43b493e281ab

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