💎 Easy way to verify the holders of your NFT collection on the TON blockchain
- NFT holder writes a message to your bot
- Bot sends the details for the transfer
- Holder confirms ownership of the wallet
- Bot sends a link to a private chat
You need to specify these env variables to run this bot. If you run it locally, you can also write them in .env
text file.
DATABASE_URL= # PotsgreSQL database URL
BOT_TOKEN= # Telegram bot API token from @BotFather // Example: 1234567890:ABCDEFGHIJKLMNOPQRSTUVWXYZ
COLLECTION= # TON address of NFT collection. // Example: EQAo92DYMokxghKcq-CkCGSk_MgXY5Fo1SPW20gkvZl75iCN
CHAT_ID= # Telegram private chat for NFT owners. // Example: -1001234567890
TONCENTER_API_KEY= # toncenter.com API key from @tonapibot
HEROKU_APP_NAME= # Name of your Heroku app for webhook setup (optional)
First, you need to install all dependencies:
pip install -r requirements.txt
Then you can run the bot. Don't forget to create .env
file in the root folder with all required params (read above).
python main.py
If you want to add a user to the list of holders, but the collection has not yet reached the mint, you can add the necessary wallets to the contest table