Skip to content

hasan1818666891/Paws-BOT

Repository files navigation

Static Badge

PAWS Bot

Recommendation: Use Python 3.10


Features

Feature Supported
Multithreading
Proxy binding to session
User-Agent binding to session
Support for .session files
Registration in bot
Auto-tasks
Auto connect wallets
Daily rewards

Setting Description
API_ID / API_HASH Platform data from which to run the Telegram session (default: Android)
SLEEP_TIME Sleep time between cycles (default: [41200, 43200])
START_DELAY Delay between session starts (default: [5, 25])
AUTO_TASK Enable auto tasks (default: True)
AUTO_ADD_WALLET Auto-add wallet and save to wallets.json with seed phrase and public key (default: False)
JOIN_CHANNELS Auto-join Telegram channels for tasks (default: False)
REF_ID Referral link for registration

Quick Start 📚

To install dependencies and run the bot quickly, use the provided batch file (run.bat) for Windows or the shell script (run.sh) for Linux.

Prerequisites

Ensure you have Python 3.10 installed.

Obtaining API Keys

  1. Go to my.telegram.org and log in.
  2. Under API development tools, create a new application to get your API_ID and API_HASH, and add these to your .env file.

Installation

Clone the Repository

git clone https://github.com/hasan1818666891/Paws-BOT
cd Paws-BOT

Then you can do automatic installation by typing:

Windows:

run.bat

Linux:

run.sh

Linux manual installation

python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
cp .env-example .env
nano .env  # Here you must specify your API_ID and API_HASH, the rest is taken by default
python3 main.py

You can also use arguments for quick start, for example:

~/Paws-BOT >>> python3 main.py --action (1/2)
# Or
~/Paws-BOT >>> python3 main.py -a (1/2)

# 1 - Run clicker
# 2 - Creates a session

Windows manual installation

python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
copy .env-example .env
# Here you must specify your API_ID and API_HASH, the rest is taken by default
python main.py

You can also use arguments for quick start, for example:

~/Paws-BOT >>> python main.py --action (1/2)
# Or
~/Paws-BOT >>> python main.py -a (1/2)

# 1 - Run clicker
# 2 - Creates a session

Extra help

if you are facing any problem while installing tonsdk try this. it should work:

pkg install clang libffi openssl libsodium
SODIUM_INSTALL=system pip install pynacl

Usage

  1. First Launch: Create a session with the --action 2 option. This will create a sessions folder for storing all accounts and an accounts.json configuration file.
  2. Existing Sessions: If you already have sessions, add them to the sessions folder and run the bot with the clicker mode.

If AUTO_ADD_WALLET is enabled, TON wallets are automatically added to accounts, and wallet credentials (seed phrase, private key, public key) are backed up in wallets.json.

Example of accounts.json

[
  {
    "session_name": "name_example",
    "user_agent": "Mozilla/5.0 (Linux; Android 14) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.6422.165 Mobile Safari/537.36",
    "proxy": "type://user:pass:ip:port"  // "proxy": "" if no proxy
  }
]

Example of wallets.json

{
    "xxxxxxxx": { 
        "wallet": {
            "mnemonic": "total feature answer mystery puzzle loyal spatial organ total feature answer mystery puzzle loyal spatial organ",
            "wallet_address": "UQC6N66gCoOJEXpvTyp4DdODbK4GvC9QNXw30qxxxxxxxxxx",
            "private_key": "xxxxxxxxxxx8b9db73b982021ee9e98f1bd8696b000ea87c95a2a7e98de1197194c7da2f961b10d5a8228efe55b4e8859ab7791xxxxxxxxxxxxxxx",
            "public_key": "e98de1197194c7da2f961b10d5a8228efe55b4e8859ab7791xxxxxxxxxxxxxxx"
        },
        "session_name": "example.session",
        "username": "telegram_username"
    }
}

Contacts

Unavailable

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published