Real-time monitoring of NFT sales
I developed a bot in Python designed for monitoring NFT market activity on the TON blockchain (specifically on the GetGems marketplace) in real-time.
The bot uses asynchronous requests to poll the blockchain API, filtering transactions for specific NFT collections, such as "Anonymous Telegram Numbers." When a sale occurs, the bot analyzes the raw blockchain data, converts values from nanotons to TON, and instantly sends a formatted message to a Telegram channel or private chat.
Key features:
- 24/7 monitoring of wallet/contract events via TonAPI.
- Decodes JSON data to extract the NFT name, price, and transaction hash.
- Automatically converts raw blockchain values into readable cryptocurrency TON prices.
- Sends HTML messages with rich text and direct links to the marketplace.
- Built using aiohttp for non-blocking asynchronous execution, ensuring high speed and stability.
Technology stack: Python, aiogram, aiohttp, TonAPI, JSON, AsyncIO.
The bot uses asynchronous requests to poll the blockchain API, filtering transactions for specific NFT collections, such as "Anonymous Telegram Numbers." When a sale occurs, the bot analyzes the raw blockchain data, converts values from nanotons to TON, and instantly sends a formatted message to a Telegram channel or private chat.
Key features:
- 24/7 monitoring of wallet/contract events via TonAPI.
- Decodes JSON data to extract the NFT name, price, and transaction hash.
- Automatically converts raw blockchain values into readable cryptocurrency TON prices.
- Sends HTML messages with rich text and direct links to the marketplace.
- Built using aiohttp for non-blocking asynchronous execution, ensuring high speed and stability.
Technology stack: Python, aiogram, aiohttp, TonAPI, JSON, AsyncIO.