This project is a Telegram bot designed to facilitate the purchase of a script that boosts mining speed in the game #MemHash.
- User-friendly interface for purchasing the mining speed boost script.
- Automated handling of purchase and refund processes.
- Easily configurable environment variables for deployment flexibility.
- Python 3.7+: Ensure you have Python installed. You can download it here.
- Telegram Bot API Token: Obtain a bot token from BotFather on Telegram.
-
Clone the repository:
git clone https://github.com/your-repo/memhash-boost-bot.git cd memhash-boost-bot```
-
Set up a virtual environment:
python -m venv venv source venv/bin/activate # For Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables:
RAINBOWHASH_API_TOKEN
: Your bot API tokenRAINBOWHASH_ALL_REFUND
: Whether to enable auto-refund (set totrue
for testing)Create a .env file in the project root or export these variables in your environment
Example
.env
file:RAINBOWHASH_API_TOKEN=your_bot_token RAINBOWHASH_ALL_REFUND=true
Start the bot with:
python main.py
This project is licensed under the MIT License.