Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jawikas/snapster-bot

SnapsterBot is an asynchronous Python bot built to interact with the Snapster API. It allows users to automate tasks such as claiming daily bonuses, mining bonuses, league bonuses, and completing quests.
https://github.com/jawikas/snapster-bot

bot miniapp python snapster snapster-auto-bot snapster-auto-click snapster-auto-farm snapster-bot snapster-solana solana telegram telegram-bot telegram-mini-app web2

Last synced: 3 months ago
JSON representation

SnapsterBot is an asynchronous Python bot built to interact with the Snapster API. It allows users to automate tasks such as claiming daily bonuses, mining bonuses, league bonuses, and completing quests.

Awesome Lists containing this project

README

        

# Snapster Bot

SnapsterBot is an asynchronous Python bot built to interact with the Snapster API. It allows users to automate tasks such as claiming daily bonuses, mining bonuses, league bonuses, and completing quests.

[TELEGRAM CHANNEL](https://t.me/Deeplchain) | [TWITTER](https://x.com/itsjaw_real)

## What is Snapster ?
***Snapster - Trading App :*** easy-to-use telegram app for discovering & trading hot tokens Snapster Points campaign is live with $SNAPS: Airdrop confirmed! Make sure you follow us on our telegram channel and group to get the latest information about this airdrop.

### Register : https://t.me/snapster_bot?start=ref_K0S1qpNL2RIGlx

## Features

- **Extract user data**: Retrieves user data based on their Telegram ID.
- **Claim daily bonus**: Automates the daily bonus claiming process.
- **Claim league bonus**: Automatically claims league bonus if it's unclaimed.
- **Claim mining bonus**: Claims bonuses for mining.
- **Complete quests**: Automates quest completion by either starting new quests or claiming bonuses from finished quests.
- **Referral points**: Claims referral points.

## Requirements

- Python 3.8+
- Libraries:
- `aiohttp`
- `colorama`
- `urllib.parse`
- `json`
- Custom modules in `src/` such as `headers`, `deeplchain`

## Setup
1. Clone the repository:

```bash
git clone https://github.com/jawikas/snapster-bot.git
```
2. Navigate to the project directory:

```bash
cd snapster-bot
```
3. Ensure that you have the following directory structure:

```bash
snapster-bot/
├── src/
│ ├── __init__.py
│ ├── headers.py
│ ├── deeplchain.py
│ └── core.py
├── proxies.txt
├── main.py
├── data.txt
├── requirements.txt
└── README.md
```

4. Install the Dependencies:

Use `pip` to install the required Python packages:

```bash
pip install -r requirements.txt
```

5. Create a file called proxies.txt (optional):

If you plan on using proxies, create a proxies.txt file with the following format:

```ruby
username:password@host:port
username:password@host:port
```

6. Configure the config.json to include necessary options:

```json
{
"use_proxy": true,
"auto_complete_tasks": false,
"account_delay": 5,
"loop_countdown": 3800
}
```

7. Prepare the Authorization Tokens:

before starting the bot you must have your own initdata / query id telegram!

- Use PC/Laptop or Use USB Debugging Phone
- open the `Snapster bot miniapp`
- Inspect Element `(F12)` on the keyboard
- at the top of the choose "`Application`"
- then select "`Session Storage`"
- Select the links "`Snapster`" and "`tgWebAppData`"
- Take the value part of "`tgWebAppData`"
- take the part that looks like this:

```txt
query_id=xxxxxxxxx-Rxxxxuj
```
8. add it to `data.txt` file or create it if you dont have one

You can add more and run the accounts in turn by entering a query id in new line like this:
```txt
query_id1=xxxxxxxxx-Rxxxxuj
query_id2=xxxxxxxxx-Rxxxxuj
query_id3=xxxxxxxxx-Rxxxxuj
```

## Usage

Run the bot using the following command:

```bash
python main.py
```

## Proxy Support
To enable proxy support, ensure that:

- The use_proxy setting in config.json is set to true.
- The proxies.txt file contains valid proxy information in the format username:password@host:port.

## License
This project is licensed under the `MIT License` - see the LICENSE file for details.

## Contact
For any questions or issues, please open an issue on GitHub or contact me at [ https://t.me/itsjaw_real ]..