A Python-based automation bot for interacting with the DuckChain API. This bot can perform daily sign-ins, open boxes, execute quacks, and complete tasks automatically using multiple accounts with proxy support.
- 09.10.24 Tasks are performed for all categories, not just for Partner
- 02.11.24 - add connect TON wallets
What is duckchain? Duckchain is the TON L2 powered by Arbitrum. Bringing Liquidity and users from EVM and Bitcoin ecosystem into TON : announcements
- Visit : https://t.me/DuckChain_bot/
- Claim card id (enter)
- Click "Enter duck planet"
- Click to Quack (Desible)
- Refer friend to get BOX
- Daily check-in feature to sign in.
- Opens all available boxes.
- Quacks multiple times with delay support.
- Completes available tasks.
- Proxy support for multiple accounts.
- Configurable through
config.json
.
Processing account 1 / 3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2024-09-15 13:22:57] Duck name: Quacky123
[2024-09-15 13:22:57] Decibels: 45 | Box Amount: 1
[2024-09-15 13:22:57] Daily Check-in successfully
[2024-09-15 13:22:57] Box opened successfully!
[2024-09-15 13:22:57] Quantity: 1 | Points: 100 | Boxes left: 2
[2024-09-15 13:22:57] All boxes opened! No more boxes left.
[2024-09-15 13:22:57] Quack 1: SUCCESS | Result: Some random result
[2024-09-15 13:22:57] Decibel Change: 10 | Quack Times: 1
[2024-09-15 13:22:57] Task successfully completed! Reward 5 Points
-
Clone the Repository:
git clone https://github.com/cucumber-pickle/DuckChainCucu.git cd DuckChainCucu
-
Create a virtual environment (optional but recommended)
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install Dependencies:
The bot uses Python 3 and requires some external libraries. You can install them using:
pip install -r requirements.txt
colorama
random
urllib
Create a config.json file in the project root directory:
{
"use_proxy": false,
"quack_delay": 2,
"quack_amount": 5,
"complete_task": false,
"account_delay": 5,
"countdown_loop": 3600,
"connect_wallets": false
}
use_proxy
: Enable/disable proxy usage (true/false).quack_delay
: Time (in seconds) between quacks.quack_amount
: Number of quacks to perform per account.complete_task
: Enable/disable automatic task completion (true/false).account_delay
: Delay (in seconds) between processing each account.countdown_loop
: Time (in seconds) before restarting the bot cycle.connect_wallets
- Enable/disable automatic connect TON wallets (true/false). if you want to connect wallets, add the addresses of TON wallets to wallets.txt . The number of wallets must match the number of accounts.
Example of an address - UQAIsAepLajIsWU58DxPTM7D_GQG01MSk63qJckHQ9WBj2QC
Add your DuckChain account tokens to a file named data.txt
in the root directory. Each token should be on a new line.
Example:
Query_id1
Query_id2
Query_id3
If you enable proxy support in config.json
, create a proxies.txt
file in the root directory, containing a list of proxies, one per line.
Example (proxy format: username:password@host:port):
user1:pass1@123.123.123.123:8080
user2:pass2@456.456.456.456:8080
Run the script with:
python main.py
The bot will:
Load the accounts from data.txt
.
Process each account by fetching user info, performing daily sign-in, opening all boxes, executing quacks, and completing tasks (if enabled).
- Login telegram via portable or web version
- Launch the bot
- Press
F12
on the keyboard - Open console
- Сopy this code in Console for getting tgWebAppData (user= / query=):
copy(decodeURIComponent(sessionStorage['telegram-apps/launch-params']).split('tgWebAppData=')[1].split('&tgWebAppStartParam')[0])
- you will get data that looks like this
query_id=AA....
user=%7B%22id%....
- add it to
data.txt
file or create it if you dont have one
0xc4bb02b8882c4c88891b4196a9d64a20ef8d7c36
- BSC (BEP 20)
UQBiNbT2cqf5gLwjvfstTYvsScNj-nJZlN2NSmZ97rTcvKz0
- TON
0xc4bb02b8882c4c88891b4196a9d64a20ef8d7c36
- Optimism
THaLf1cdEoaA73Kk5yiKmcRwUTuouXjM17
- TRX (TRC 20)
This project is licensed under the MIT License - see the LICENSE file for details.
For questions or support, please contact CUCUMBER TG CHAT