Levu is an internal C2C e-commerce platform that aims to facilitate seamless transactions and connections among buyers and sellers.
A Telegram bot on Sui
Confidential
2 months
Blockchain
2024
AWS, Mongo Atlas, Infura IPFS, Move - Rust language, Lambda serverless, NodeJS, ReactJS
Cenbot is a blockchain technology solution that aims to provide native Telegram bot functionalities on the Sui blockchain.
Cenbot aims to provide native Telegram bot functionalities on the Sui blockchain. However, several challenges stood in the way of achieving this goal:
– Integration complexity: Interacting seamlessly with the Sui blockchain, including its object-centric data model, Move language smart contracts, and unique transaction processing, presented a significant hurdle. Ensuring efficient and secure communication between the off-chain bot and on-chain assets was crucial.
– Real-time event handling and scalability: Processing real-time events from the Sui blockchain (e.g., transaction updates, smart contract events) and delivering timely notifications to Telegram users at scale required robust event listeners and a highly responsive backend. The fluctuating nature of blockchain activity and user demand necessitated dynamic scaling of infrastructure.
– Data management and persistence: Storing and managing user-specific data, bot configurations, and historical interactions efficiently and reliably was a challenge. This included ensuring data consistency, integrity, and scalability, especially with potential growth in user base and bot functionalities.
To overcome the challenges, Hola Tech adhered to the best practices. Key components of the solution included:
– Establish robust Sui blockchain connectivity: Implement efficient and secure methods for the Telegram bot to interact with the Sui blockchain, including reading on-chain data, submitting transactions, and listening for relevant events, leveraging Sui’s SDKs and APIs.
– Develop a scalable and responsive backend: Design and implement a serverless backend using AWS Lambda and Node.js capable of handling a high volume of concurrent Telegram bot requests and real-time blockchain event processing, ensuring low latency and high availability.
– Implement an efficient and scalable data store: Utilize Mongo Atlas to store and manage bot data, ensuring high availability, data consistency, and the ability to scale horizontally to accommodate increasing data volumes and user interactions.
– Achieved an average response time of under 200ms for bot interactions.
– Handled over 1,000 concurrent active users.
The implemented system successfully met Cenbot’s requirements for performance, security, and functionality. The bot has significantly streamlined interactions with the Sui blockchain through Telegram, attracting over 1,000 unique users. This demonstrates Cenbot’s success in providing a seamless and accessible solution for the burgeoning Sui blockchain ecosystem.
Levu is an internal C2C e-commerce platform that aims to facilitate seamless transactions and connections among buyers and sellers.
MNM TruckRace is a pioneering Web 3.0 gaming platform that integrates NFT ownership with real-world truck driving, aiming to provide players with an immersive experience and unique earning opportunities.
BTCw is the first GameFi project on Bitcoin, aiming to leverage the blockchain for a unique play-to-earn social gaming experience
MadMAX is an interactive game on Telegram that aims to deliver an exhilarating endless runner experience, challenging players to collect unique in-game currency in a fast-paced and unpredictable environment.