Galactic Worm envisions a vibrant ecosystem where digital ownership becomes an integral part of everyday life, providing users with exciting opportunities to earn, play, and explore.
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.
Galactic Worm envisions a vibrant ecosystem where digital ownership becomes an integral part of everyday life, providing users with exciting opportunities to earn, play, and explore.
Zoop is an interactive social platform that aims to facilitate engaging community interactions and collaborative objectives through a unique social mission framework within the Telegram ecosystem.
Wingswap is a decentralized finance (DeFi) platform that aims to provide automated, blazing-fast, and all-round solutions for the industry, enabling users to engage in yield farming, execute swaps and limit orders with low fees, and explore advanced NFT functionalities on a user-centric platform.
Stack is a financial technology platform that aims to transform everyday bills into investment opportunities. Through its innovative ‘Invest-As-You-Spend’ feature, Stack empowers users to align their spending with their financial goals, fostering wealth growth with every payment.