Tired of clutter in your wallet? Let our bot help you tidy up by removing unwanted SBT NFTs effortlessly. Simply provide the address of the NFT you wish to part ways with, and our bot will handle the rest. Say goodbye to clutter and hello to a cleaner wallet with just a few clicks!
- Bot example: @SBTDestroyerBot
-
SBT Destroy: Get rid of unwanted SBT NFTs in your wallet.
-
TON-Connect Integration: Ensures a secure and user-friendly experience.
-
Multilingual Support: Supports Russian and English for user interaction.
Preparation and installation
-
Create a bot via @BotFather and save the
TOKEN
(later referred to asBOT_TOKEN
). -
Create an API key on tonconsole.com (later referred to as
TONAPI_KEY
). -
Obtain a key for TON Connect (Optional, later referred to as
TONAPI_TONCONNECT_KEY
).This key is necessary for the correct functioning of TON Connect on the backend under heavy user load. If you are expecting a high volume of traffic, more than one user per second, contact @subden via private message to receive the key. Tell him about your project and the need for this key. If you don't expect much traffic, you can skip this step and use the bot without a key.
-
Clone the repository:
git clone https://github.com/nessshon/sbt-destroyer-bot.git
-
Navigate to the bot directory:
cd sbt-destroyer-bot
-
Clone the environment variables file:
cp .env.example .env
-
Configure environment variables file:
nano .env
-
Install Docker and Docker Compose:
sudo apt install docker.io && apt install docker-compose -y
-
Run the bot in a Docker container:
docker-compose up --build
If you encounter the error:
Error while fetching server API version: HTTPConnection.request() got an unexpected keyword argument 'chunked'
Install the latest version of docker-compose using the following command:
sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/bin/docker-compose && sudo chmod +x /usr/bin/docker-compose
After the bot is up and running smoothly, you can stop the containers by pressing Ctrl + C or **Ctrl + Shift + C ** in the terminal. Then, to restart them in the background, use:
docker-compose up -d
Click to expand
Here's a comprehensive reference guide for the environment variables used in the project:
Variable | Type | Description | Example |
---|---|---|---|
BOT_TOKEN |
str |
Bot token obtained from @BotFather | 123456:qweRTY |
BOT_DEV_ID |
int |
User ID of the bot developer, obtain it from my_id_bot | 123456789 |
MANIFEST_URL |
str |
URL of the bot's manifest file | https://raw.githubusercontent.com/nessshon/sbt-destroyer-bot/main/tonconnect-manifest.json |
TONAPI_KEY |
str |
API key for TONAPI, obtain it from tonconsole.com | AE33E...3FYQ |
TONAPI_TONCONNECT_KEY |
str |
API key for TON Connect (optional), obtain it by contacting @subden | 587d4...5a71 or leave empty |
REDIS_DSN |
str |
Redis connection DSN (Data Source Name) | redis://redis:6379/0 |
We welcome your contributions! If you have ideas for improvement or have identified a bug, please create an issue or submit a pull request.
TON - EQC-3ilVr-W0Uc3pLrGJElwSaFxvhXXfkiQA3EwdVBHNNess
USDT (TRC-20) - TGKmm9H3FApFw8xcgRcZDHSku68vozAjo9
Supported by TON Society, Grants and Bounties program.
This repository is distributed under the MIT License.