MeshChainBot automates claiming points on the MeshChain Telegram Bot every 2 hours.
- Automated Point Claiming: Logs into the Mesh platform and claims points every 2 hours.
- Refill Timer: Automatically waits until the refill time is ready.
- Randomized Delays: Adds a random sleep period to mimic realistic activity.
- Error Handling: Logs errors and automatically restarts.
- Customizable Delays: Adjust the delay between tasks with an environment variable.
git clone https://github.com/Praveensenpai/MeshChainBot.git
cd MeshChainBot
Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Linux/macOS:
curl -LsSf https://astral.sh/uv/install.sh | sh
uv sync
Create a .env
file in the project directory and set the following variables:
API_ID=your_api_id
API_HASH=your_api_hash
REF_ID=T_844807085
SESSION_NAME=mesh
PHONE=+91
SLEEP_DELAY_MINUTES=1
Key | Description |
---|---|
API_ID |
Your Telegram API ID |
API_HASH |
Your Telegram API Hash |
REF_ID |
Referral ID from the referral link |
SESSION_NAME |
Session name (e.g., mesh ) |
PHONE |
Your phone number |
SLEEP_DELAY_MINUTES |
Random Delay between task cycles (in minutes) |
To run the bot, simply execute the following command:
uv run main.py
The bot will log in, check for points to claim, and repeat the process every 2 hours, sleeping until the next available refill.
To obtain the API ID and API Hash for Telegram, follow these steps:
- Log in to Telegram: Use the official Telegram Web or app to log in to your account.
- Access the Telegram Developer Portal:
- Go to https://my.telegram.org and sign in with your Telegram credentials.
- Create a New Application:
- After logging in, click on API Development Tools.
- Choose Create new application and fill in the required details (e.g., app name, platform).
- Get Your API ID and Hash:
- After completion, Telegram will provide an API ID and API Hash. Copy and paste them into your
.env
file.
- After completion, Telegram will provide an API ID and API Hash. Copy and paste them into your
These credentials allow your bot to interact with Telegram. Keep them secure and avoid sharing them publicly.
- No Proxy: The bot operates without any proxy settings.
- Single Session: Only one active session is supported at a time.
- Future Enhancements: A task completion feature will be added in future updates.