TeleHub Avail
A Backend service that interactes between users and the Avail blockchain via a Telegram bot. The main functionality of the service allows users to securely submit and retrieve data.
Created on 1st November 2024
•
TeleHub Avail
A Backend service that interactes between users and the Avail blockchain via a Telegram bot. The main functionality of the service allows users to securely submit and retrieve data.
The problem TeleHub Avail solves
Key features include secure data handling, blockchain-based storage, and retrieval, making this project a powerful tool for decentralized applications that require secure and reliable data management.
Users interact with the system through a Telegram bot, where they can submit data, encrypted with a public key, which is then stored on the Avail blockchain. Additionally, users can retrieve stored data by providing a transaction hash and decrypt it using their private key. The project integrates Polkadot.js API for communicating with the Avail network and leverages NestJS for the backend structure.
Challenges I ran into
One of the challenging parts of the project was managing asynchronous transaction submissions on the blockchain while maintaining real-time interaction via the Telegram bot. Handling transaction states, including errors or blockchain rejections, and relaying that information back to the user in real-time through the bot required careful handling of async operations and error management. I implemented a secure key management system for users to submit their public and private keys in a way that ensured the integrity of the encryption process and prevented any leaks or mishandling of sensitive information.
Tracks Applied (1)
🛠Best Core Tooling project
Avail Project
Technologies used
Cheer Project
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.
