-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cc7ca9a
commit 8abd4c0
Showing
7 changed files
with
270 additions
and
2 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,31 @@ | ||
# bump-claimer | ||
Auto claim, auto mine, auto farm, auto tap python script for bump airdrop bot. | ||
# BUMP - Auto Claim Bot | ||
|
||
🔗 **Referral Link**: [BUMP](https://t.me/MMproBump_bot?start=ref_5914982564) | ||
|
||
## 📢 Telegram Group | ||
|
||
Join our Telegram group to stay updated and get instructions on how to use this tool: | ||
|
||
- [Smart Airdrop](https://t.me/smartairdrop2120) | ||
- [Smart Airdrop - Channel](https://t.me/smartairdrop_channel) | ||
|
||
## 🌟 Features | ||
|
||
| Feature | Status | Description | | ||
| -------------- | ------ | --------------------------- | | ||
| Auto Check-in | On/Off | Claim daily reward | | ||
| Auto Do Task | On/Off | Complete tasks | | ||
| Auto Claim Ref | On/Off | Claim bonus points from ref | | ||
| Auto Farm | On/Off | Farm points and auto tap | | ||
|
||
## 🚀 Run File | ||
|
||
| Run with Proxy | Run without Proxy | | ||
| -------------------------------- | ------------------- | | ||
| `bot-proxy.py` `data-proxy.json` | `bot.py` `data.txt` | | ||
|
||
## ⚠️ Note | ||
|
||
- Get auth data (`query_id=... /user=...`) in the `Application` tab in DevTools. | ||
- Auto features: Change `false` to `true` in the `config.json` file. | ||
- Supported commands: `/run_bot` `/query_id` `/proxy` `/proxy_web` (Join group to use these commands). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
import sys | ||
|
||
sys.dont_write_bytecode = True | ||
|
||
from smart_airdrop_claimer import base | ||
from core.token import get_token | ||
from core.task import process_check_in, process_do_task | ||
from core.farm import farming, process_claim_ref, process_farming | ||
|
||
import time | ||
import json | ||
|
||
|
||
class BUMP: | ||
def __init__(self): | ||
# Get file directory | ||
self.data_file = base.file_path(file_name="data-proxy.json") | ||
self.config_file = base.file_path(file_name="config.json") | ||
|
||
# Initialize line | ||
self.line = base.create_line(length=50) | ||
|
||
# Initialize banner | ||
self.banner = base.create_banner(game_name="BUMP") | ||
|
||
# Get config | ||
self.auto_check_in = base.get_config( | ||
config_file=self.config_file, config_name="auto-check-in" | ||
) | ||
|
||
self.auto_do_task = base.get_config( | ||
config_file=self.config_file, config_name="auto-do-task" | ||
) | ||
|
||
self.auto_claim_ref = base.get_config( | ||
config_file=self.config_file, config_name="auto-claim-ref" | ||
) | ||
|
||
self.auto_farm = base.get_config( | ||
config_file=self.config_file, config_name="auto-farm" | ||
) | ||
|
||
def main(self): | ||
while True: | ||
base.clear_terminal() | ||
print(self.banner) | ||
accounts = json.load(open(self.data_file, "r"))["accounts"] | ||
num_acc = len(accounts) | ||
base.log(self.line) | ||
base.log(f"{base.green}Numer of accounts: {base.white}{num_acc}") | ||
|
||
for no, account in enumerate(accounts): | ||
base.log(self.line) | ||
base.log(f"{base.green}Account number: {base.white}{no+1}/{num_acc}") | ||
data = account["acc_info"] | ||
proxy_info = account["proxy_info"] | ||
parsed_proxy_info = base.parse_proxy_info(proxy_info) | ||
if parsed_proxy_info is None: | ||
break | ||
|
||
actual_ip = base.check_ip(proxy_info=proxy_info) | ||
|
||
proxies = base.format_proxy(proxy_info=proxy_info) | ||
|
||
try: | ||
token = get_token(data=data, proxies=proxies) | ||
|
||
if token: | ||
|
||
farming(token=token, proxies=proxies) | ||
|
||
# Check in | ||
if self.auto_check_in: | ||
base.log(f"{base.yellow}Auto Check-in: {base.green}ON") | ||
process_check_in(token=token, proxies=proxies) | ||
else: | ||
base.log(f"{base.yellow}Auto Check-in: {base.red}OFF") | ||
|
||
# Do task | ||
if self.auto_do_task: | ||
base.log(f"{base.yellow}Auto Do Task: {base.green}ON") | ||
process_do_task(token=token, proxies=proxies) | ||
else: | ||
base.log(f"{base.yellow}Auto Do Task: {base.red}OFF") | ||
|
||
# Claim ref | ||
if self.auto_claim_ref: | ||
base.log(f"{base.yellow}Auto Claim Ref: {base.green}ON") | ||
process_claim_ref(token=token, proxies=proxies) | ||
else: | ||
base.log(f"{base.yellow}Auto Claim Ref: {base.red}OFF") | ||
|
||
# Farm | ||
if self.auto_farm: | ||
base.log(f"{base.yellow}Auto Farm: {base.green}ON") | ||
process_farming(token=token, proxies=proxies) | ||
else: | ||
base.log(f"{base.yellow}Auto Farm: {base.red}OFF") | ||
|
||
farming(token=token, proxies=proxies) | ||
|
||
else: | ||
base.log(f"{base.red}Token not found! Please get new query id") | ||
except Exception as e: | ||
base.log(f"{base.red}Error: {base.white}{e}") | ||
|
||
print() | ||
wait_time = 60 * 60 | ||
base.log(f"{base.yellow}Wait for {int(wait_time/60)} minutes!") | ||
time.sleep(wait_time) | ||
|
||
|
||
if __name__ == "__main__": | ||
try: | ||
bump = BUMP() | ||
bump.main() | ||
except KeyboardInterrupt: | ||
sys.exit() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
import sys | ||
|
||
sys.dont_write_bytecode = True | ||
|
||
from smart_airdrop_claimer import base | ||
from core.token import get_token | ||
from core.task import process_check_in, process_do_task | ||
from core.farm import farming, process_claim_ref, process_farming | ||
|
||
import time | ||
|
||
|
||
class BUMP: | ||
def __init__(self): | ||
# Get file directory | ||
self.data_file = base.file_path(file_name="data.txt") | ||
self.config_file = base.file_path(file_name="config.json") | ||
|
||
# Initialize line | ||
self.line = base.create_line(length=50) | ||
|
||
# Initialize banner | ||
self.banner = base.create_banner(game_name="BUMP") | ||
|
||
# Get config | ||
self.auto_check_in = base.get_config( | ||
config_file=self.config_file, config_name="auto-check-in" | ||
) | ||
|
||
self.auto_do_task = base.get_config( | ||
config_file=self.config_file, config_name="auto-do-task" | ||
) | ||
|
||
self.auto_claim_ref = base.get_config( | ||
config_file=self.config_file, config_name="auto-claim-ref" | ||
) | ||
|
||
self.auto_farm = base.get_config( | ||
config_file=self.config_file, config_name="auto-farm" | ||
) | ||
|
||
def main(self): | ||
while True: | ||
base.clear_terminal() | ||
print(self.banner) | ||
data = open(self.data_file, "r").read().splitlines() | ||
num_acc = len(data) | ||
base.log(self.line) | ||
base.log(f"{base.green}Numer of accounts: {base.white}{num_acc}") | ||
|
||
for no, data in enumerate(data): | ||
base.log(self.line) | ||
base.log(f"{base.green}Account number: {base.white}{no+1}/{num_acc}") | ||
|
||
try: | ||
token = get_token(data=data) | ||
|
||
if token: | ||
|
||
farming(token=token) | ||
|
||
# Check in | ||
if self.auto_check_in: | ||
base.log(f"{base.yellow}Auto Check-in: {base.green}ON") | ||
process_check_in(token=token) | ||
else: | ||
base.log(f"{base.yellow}Auto Check-in: {base.red}OFF") | ||
|
||
# Do task | ||
if self.auto_do_task: | ||
base.log(f"{base.yellow}Auto Do Task: {base.green}ON") | ||
process_do_task(token=token) | ||
else: | ||
base.log(f"{base.yellow}Auto Do Task: {base.red}OFF") | ||
|
||
# Claim ref | ||
if self.auto_claim_ref: | ||
base.log(f"{base.yellow}Auto Claim Ref: {base.green}ON") | ||
process_claim_ref(token=token) | ||
else: | ||
base.log(f"{base.yellow}Auto Claim Ref: {base.red}OFF") | ||
|
||
# Farm | ||
if self.auto_farm: | ||
base.log(f"{base.yellow}Auto Farm: {base.green}ON") | ||
process_farming(token=token) | ||
else: | ||
base.log(f"{base.yellow}Auto Farm: {base.red}OFF") | ||
|
||
farming(token=token) | ||
|
||
else: | ||
base.log(f"{base.red}Token not found! Please get new query id") | ||
except Exception as e: | ||
base.log(f"{base.red}Error: {base.white}{e}") | ||
|
||
print() | ||
wait_time = 60 * 60 | ||
base.log(f"{base.yellow}Wait for {int(wait_time/60)} minutes!") | ||
time.sleep(wait_time) | ||
|
||
|
||
if __name__ == "__main__": | ||
try: | ||
bump = BUMP() | ||
bump.main() | ||
except KeyboardInterrupt: | ||
sys.exit() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"auto-check-in": "true", | ||
"auto-do-task": "true", | ||
"auto-claim-ref": "true", | ||
"auto-farm": "true" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
query_id=AAH_C1ZXAgAAAP8LVld_piqg&user=%7B%22id%22%3A5760224255%2C%22first_name%22%3A%22K%22%2C%22last_name%22%3A%22Lalwani%20%F0%9F%8C%B1SEED%20%F0%9F%90%88%E2%80%8D%E2%AC%9B%22%2C%22username%22%3A%22krishealty%22%2C%22language_code%22%3A%22en%22%2C%22allows_write_to_pm%22%3Atrue%7D&auth_date=1727549549&hash=23cbfb595da488a3fdf20764ce70fae3f5272d978f2a5662fd076b82ee9be5f3 | ||
query_id=AAEdyq9oAAAAAB3Kr2ipgeJs&user=%7B%22id%22%3A1756351005%2C%22first_name%22%3A%22hastii%20%C3%96%22%2C%22last_name%22%3A%22%22%2C%22language_code%22%3A%22en%22%2C%22allows_write_to_pm%22%3Atrue%7D&auth_date=1727640982&hash=56d3a256ced75c05c5b7edb922f69588dd9f991f95513b584910ca397a4ffd90 | ||
query_id=AAHZ4sIAAwAAANniwgC0_cKA&user=%7B%22id%22%3A6455223001%2C%22first_name%22%3A%22kinjal%22%2C%22last_name%22%3A%22%22%2C%22username%22%3A%22kinjal567%22%2C%22language_code%22%3A%22en%22%2C%22allows_write_to_pm%22%3Atrue%7D&auth_date=1727641748&hash=8de3fe5bcdcecf78c2636c4289c819409afd6731a28ec988f105dc30423b5136 | ||
query_id=AAFmLcsEAwAAAGYtywS63-gf&user=%7B%22id%22%3A6522875238%2C%22first_name%22%3A%22Vidya%22%2C%22last_name%22%3A%22Krishna%22%2C%22language_code%22%3A%22en%22%2C%22allows_write_to_pm%22%3Atrue%7D&auth_date=1727642649&hash=65a51676406e76c489ce3063425745ca6fe3e1ada23446d0267719f199918337 | ||
query_id=AAEUbDYkAwAAABRsNiRjl6sR&user=%7B%22id%22%3A7049997332%2C%22first_name%22%3A%22a%22%2C%22last_name%22%3A%22%22%2C%22language_code%22%3A%22en%22%2C%22allows_write_to_pm%22%3Atrue%7D&auth_date=1727643249&hash=9d84f9a3a28ca7e14e4a65cd53e3a8628ebd65270afe8804f5d2145c909b3fc7 | ||
query_id=AAHmUq5pAAAAAOZSrmnbYlqY&user=%7B%22id%22%3A1773032166%2C%22first_name%22%3A%22Krish%22%2C%22last_name%22%3A%22lalwani%22%2C%22username%22%3A%22Krishlalwani%22%2C%22language_code%22%3A%22en%22%2C%22allows_write_to_pm%22%3Atrue%7D&auth_date=1727643711&hash=a8dd4f1ba982b8646bd22f1f43b33c6c544e7d452c8880d8974e810e4ab23fc5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
smart-airdrop-claimer |