Telegram Service for Asset Management on Aptos Chain
To enhance the digital finance experience, Kana Labs initiated an ambitious project to develop a Telegram-based service that simplifies asset management on the Aptos blockchain with Blaize. This service aims to make asset transfers and swaps secure and user-friendly, catering to the needs of both seasoned blockchain users and novices.
WHAT WAS THE TASK?
The primary objective was to create a Telegram bot that allows users to manage their digital assets — transferring and swapping — on the Aptos blockchain. The goal was to provide a seamless interface that integrates sophisticated blockchain functionalities into a simple, accessible user experience.
Blaize has a deep expertise in enhancing business with blockchain technologies. Read more about our solutions in the field here.
PROJECT ARCHITECTURE
The core architecture consists of a blockchain layer powered by Aptos, known for its efficiency and scalability, which manages all on-chain operations. The backend, developed using Nest.js, handles business logic and integration with blockchain functions, while the user interface is facilitated through a Telegram bot, developed with the Telegram SDK for simplicity and accessibility.
Incorporating advanced security features, the system uses Aptos’ Identity Connect for secure, keyless account management, enhancing user privacy and security. It integrates seamlessly with external services like Aptos RPC for blockchain interactions and Kana Labs SDK for swap and cross-chain functionalities, all hosted on AWS Cloud using ECS and RDS services to ensure reliability and high availability.
The picture below reveals part of the code we crafted for Kana Labs.
BOOK A FREE CALL WITH BLAIZE TO DISCOVER WEB3 SOLUTIONS FOR YOUR BUSINESS
THE DEVELOPMENT PROCESS
The project was completed over a one-month period and involved several key phases:
- Initial planning and design by a team comprising a Project Manager, Solution Architect, Backend Engineer, Rust Engineer specializing in Aptos, and a DevOps Engineer.
- Development of the bot using the outlined tech stack, with a particular focus on integrating the Aptos and Kana Labs SDKs for blockchain interactions.
- Rigorous testing to ensure the bot’s functionality met the security and usability standards required for handling digital assets.
Our dedicated team for this project included:
- Project Manager
- Solution Architect
- Backend Engineer
- Rust Engineer (Aptos)
- DevOps Engineer
CHALLENGES WE CONFRONTED
One of the major challenges was the integration with Aptos’ keyless accounts and the Identity Connect wallet provider, which are innovative yet complex aspects of wallet management on the blockchain. The team had to delve deeply into the nuances of Aptos’ signature and key management processes. Additionally, the integration of the Kana Labs SDK posed a challenge due to its role in facilitating both same-chain and cross-chain swaps across various blockchain networks, requiring robust testing and secure implementation.
RESULT
Our project has successfully delivered a comprehensive Telegram service that simplifies asset management on the Aptos blockchain, making it accessible even to users with limited blockchain expertise. This all-in-one tool enables efficient management of wallets and assets, allowing users to perform transfers and swaps directly within the Aptos chain. The core of this functionality is driven by the Kana Labs SDK and API, which have been integrated to facilitate an intuitive solution for on-chain swaps, handling many of the essential integrations seamlessly.
Through this project, we have not only enhanced user experience but also strengthened the underlying technology, making blockchain interactions more accessible and secure for everyone.