This Python library automates the betting process on the Blaze Double
Project description
Blaze Double Bot
Description
This Python script automates the betting process on the Blaze Double website using Selenium and undetected-chromedriver. It monitors the game state, places bets according to a predefined strategy, and handles winnings and losses. Google Chrome browser required.
Installation
pip install blaze-double-bot
How to use the JSON file in the Blaze Double Bot
To use the Blaze Double Bot, you need to configure your credentials and other settings through a JSON file. Follow the instructions below to set up and use the bot:
- Create a
config.json
file with the following content:
{
"username": "your blaze username",
"password": "your blaze password",
"bet_amount":0.1,
"stop_loss_ratio":0.9,
"stop_win_ratio":1.1,
"wait_after_bet":150,
"martingale":2,
"headless": true,
"language":"en",
"strategies": {
"red": [
["B", "R", "B", "R", "B"],
["B", "B", "B", "B"],
["R", "B", "B", "B"]
],
"black": [
["R", "B", "R", "B", "R","B","R"],
["R", "R", "R", "R", "R"]
]
}
}
- username: Your username or email registered on Blaze Double.
- password: Your password to access Blaze Double.
- bet_amount: The amount of the bet to be placed in each round.
- stop_loss_ratio: The multiplication factor of the initial balance indicating the loss limit. The bot will stop betting if the balance drops below this limit.
- stop_win_ratio: The multiplication factor of the initial balance indicating the win limit. The bot will stop betting if the balance reaches or exceeds this limit.
- wait_after_bet: Waiting time, in seconds, to restart analyzes after the bet result.
- martingale: MartinGale's strategy doubles the bet after a loss. The bot will do this procedure if the value is different from 0. If the value is 1 it will do the procedure 1 time, if 2 it will do it 2 times and so on. Be very careful with this strategy.
- headless: receives true or false. If true the browser will be invisible
- language: "en" (English) and "pt" (Portuguese).
- strategies: Pre-defined betting strategies with sequences of colors (black = "B", red = "R"). You can add as many strategies as you want here. Lists must have a maximum of 20 items. Put the lists with the largest number of items first.
- Create a
blazeBot.py
file with the following content:
from blaze_double_bot import BlazeDoubleBot
import json
with open('config.json', 'r') as f:
config = json.load(f)
bot = BlazeDoubleBot(config)
bot.run()
Support This Project
If you find this project helpful, consider supporting it by making a donation. Your contribution will help me maintain and improve this bot.
License
This project is licensed under the MIT License - see the LICENSE file for details.
© 2024 Rafael Ribeiro.
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
File details
Details for the file blaze_double_bot-1.3.4.tar.gz
.
File metadata
- Download URL: blaze_double_bot-1.3.4.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f0f9b0d70522536dbdf3d3ff6db8d0d8c246b54d8cbd2ad3b57630220bd2db6 |
|
MD5 | 876fe42027209a3426e4504e390b1fd6 |
|
BLAKE2b-256 | 63ebb49fe3bb30f3badb7ffaac0c51f06f7e5fa42df7d44d17664300cd5b5bd8 |