AutoEosBet is a lightweight automation project for interacting with the historical EOSBet dice contract through the EOSIO cleos command-line tool.
The main script can rotate through multiple EOS accounts, choose randomized roll values, wait between transactions, monitor account balances, and transfer a configured amount to a separate account when a balance threshold is reached.
Legacy project: this repository targets an older EOS/EOSBet environment. The RPC endpoint, contract account, transaction memo format, and EOSIO tooling used by the scripts may no longer be available or compatible with current infrastructure. Verify every dependency and transaction before using real funds.
- Automated EOSBet dice transactions through
cleos - Support for three configured betting accounts
- Configurable bet amount
- Randomized roll values within a configurable range
- Randomized delay between account actions
- EOS balance checks after each transaction
- Automatic transfer to a separate account after a balance threshold is reached
- Python and shell-script implementations
| File | Purpose |
|---|---|
autobet.py |
Main Python automation script |
autobet.sh |
Legacy shell implementation |
geteos.sh |
Helper script for querying an EOS account balance |
onebet.py |
Legacy single-bet helper script |
The scripts expect EOSIO command-line tooling to be installed locally, including:
cleoskeosd- Python 3 for
autobet.py - Bash for the shell scripts
You also need an EOS wallet configured locally with the required account keys imported.
The scripts do not install or configure EOSIO tooling automatically.
The primary configuration is defined near the top of autobet.py.
Enable_Bet = TrueSet this to False while reviewing or modifying the script if you do not want it to submit transactions.
Sleep_Time = 15
Sleep_Time_Randome = 1Sleep_Time controls the approximate interval for a complete account cycle. Sleep_Time_Randome adds variation to the delay between account actions.
Bet_Limit = "0.1000 EOS"This is the amount sent for each bet.
Roll_Random_Low = 35
Roll_Random_Up = 65For each transaction, the script selects a random integer between these two values.
API_URL = "https://api.eosnewyork.io:443"The repository contains a historical default endpoint. Confirm that the endpoint you intend to use is active and trusted before running the script.
Wallet_Passwd = "1234"Replace placeholder values locally. Do not commit a real wallet password, private key, or other secret to the repository.
My_Account = "aaaeeeiiioo"
My_Account2 = "aaaeeeiiioo"
My_Account3 = "aaaeeeiiioo"These are the EOS accounts used by the main automation loop.
Balance_Threshold = 3.5
Bet_Profit = "0.5000 EOS"
Earn_account = "aaapppaaappp"After a bet, the script checks the account balance. When the balance is at or above Balance_Threshold, it attempts to transfer Bet_Profit to Earn_account.
After reviewing the configuration and verifying the EOSIO environment:
python3 autobet.pyThe script runs continuously until it is stopped.
Before enabling transactions, inspect the generated cleos commands and confirm the contract account, memo format, RPC endpoint, source accounts, destination account, and EOS amounts.
The repository also includes an earlier Bash implementation:
chmod +x autobet.sh geteos.sh
./autobet.shThe shell version depends on geteos.sh for balance queries and contains its own configuration values.
For each configured account, autobet.py:
- Unlocks the local EOS wallet.
- Selects a random roll value from the configured range.
- Reads the account balance.
- Builds and submits a
cleos transfertransaction to the configured EOSBet contract account. - Waits briefly and reads the balance again.
- Reports the balance difference.
- Transfers the configured amount to the earnings account when the balance threshold is reached.
- Waits for a randomized interval before processing the next account.
The process repeats continuously.
This project can execute real blockchain transfers. Review the source before running it.
Do not store real private keys or wallet passwords in committed source code. Prefer local environment-specific configuration, protect the wallet process, verify destination accounts carefully, and test with values you can afford to lose.
The scripts use shell=True when executing commands, so configuration values should be treated as trusted local input rather than arbitrary user input.
This repository is provided for educational and historical reference. Blockchain transactions are irreversible, and automated betting can result in financial loss. You are responsible for validating the current EOS infrastructure, contract behavior, legal requirements, and all transaction parameters before use.
No license file is currently included in this repository. Unless a license is added, the source remains subject to the default copyright rules that apply to published code.