Telegram Bot
Work Description
The project involves updating the existing Telegram bot Swaptain from SwapKit v1 to SwapKit v4, ensuring full functionality preservation, performance improvement, and the implementation of new features — a referral rewards system (“Refer & Earn”) and support for all new networks compatible with SwapKit v4.
The work includes technical refactoring updates, bug fixes, performance optimization, and comprehensive testing on all supported networks.
1. Migration and Refactoring to SwapKit v4
Replace all outdated modules
swapkit/*version v1 with their counterparts in v4.Update keystore logic, network configurations, and environment variables (.env).
Centralize the creation of the SwapKit client through middleware to enhance efficiency and eliminate duplicate initializations.
Remove all outdated calls to
swapkit/helpersand unnecessary helper functions.Normalize chain types and assets according to v4 specifications.
Perform code cleanup and fix the logic of scene handlers (
.always().do()), callback routing, and user navigation.Ensure stable compatibility with the deployment environment Fly.io, including updating Docker configuration and optimizing the build process.
2. Performance and Reliability Optimization
Implement caching for frequently used API requests (balances, prices) with a TTL of 20–60 seconds.
Optimize message updates in Telegram to reduce API latency.
Defer the import of heavy modules to speed up bot startup.
Add timeout handling, fallback scenarios, and improved error logging.
Check the consistency of i18n keys and the accuracy of all text translations.
3. “Refer & Earn” System (Referral Program)
Develop a mechanism for generating a unique referral link for each Telegram user.
Track new users brought in through referrals, as well as the volume of their transactions.
Implement logic for awarding 0.3% of the transaction volume of referred users to the referrer.
Store data on referral relationships and transaction volumes in the database (via Prisma).
Add a “Request Payout” button that leads to the client's Google form for payout requests.
Create a basic administrative control panel for checking referrals and preventing abuse.
4. Integration of New Networks in SwapKit v4
Expand the bot configuration to support all new blockchains available in SwapKit v4.
Initialize clients, providers, and fee mechanisms for each new network.
Update asset handling and transaction validation logic considering the specifics of different chains.
Verify the correctness of deposits, swaps, and balance displays across all new networks.
Request to Contractors: please carefully review the description and include in your proposal the estimate and completion timeline.
The code of the current version of the project is attached below.
Applications 1
Client's review of cooperation with Maksym C.
Telegram BotGreat job! We will continue working.
Freelancer's review of cooperation with Snezhana Yosipenko
Telegram BotThank you for the opportunity to collaborate!
-
1 day1000 USD1 day1000 USD
Hello, I worked on a Telegram bot for cryptocurrency transactions. I changed the architecture, updated the API, cached requests — the speed increased by 40%. Do you plan to support multilingualism in the referral system?
I suggest we get in touch, I will consult you for free on the technical side and we will create a development plan + I will tell you about my team!
-
2 days95 USD
663 4 0 2 days95 USDHello, I have read everything carefully and am ready to do it all for 4000 UAH, in 2 days. Write to me in private messages.
-
3 days900 USD
146 3 days900 USDHello! I specialize in Telegram bots and can start working today.
My approach: quickly create a prototype, show the result, and immediately make adjustments according to your wishes.
-
22 days900 USD
940 5 0 22 days900 USDI can perform an update of the bot to SwapKit v4, do refactoring, add caching, implement a "Refer & Earn" system, and connect new networks — I have some experience with Node.js, Docker, working with Telegram-bot API, Prisma, and backend optimization.
Current freelance projects in the category Bot Development
Telegram Bot RPGHello, dear programmers! I am looking for a developer to create a Telegram project in the format of a text-based role-playing game (RPG) in the Eurovision universe (similar to text-based role-playing Club Romance). Please read the concept step by step and give your feedback on… Gaming Apps, Bot Development ∙ 9 hours 3 minutes back ∙ 50 proposals |
Technical Specification for Refinement of AI Bot for Generating Personalized SongsTECHNICAL TASK FOR IMPROVING THE AI PERSONAL SONG GENERATOR BOTMAIN GOAL Create a stable premium product that: generates the highest quality personal songs; does not fabricate facts about the client; works stably under load; is easily scalable; allows for analysis and… Python, Bot Development ∙ 9 hours 55 minutes back ∙ 26 proposals |
A bot needs to be created in Telegram for subscription payment.
45 USD
A bot needs to be created in Telegram where users can subscribe for access to the webcams located in the yard. Organize payment for two types of subscriptions (monthly and daily) in the bot. The bot should automatically check the payment and then provide access links. Python, Bot Development ∙ 1 day 2 hours back ∙ 76 proposals |
Development of an AI consultant for a work visa verification website (WordPress)Development of an AI Consultant for a Work Visa Check Website (WordPress) About the Project An English-language website is being developed for the preliminary check of eligibility for a work visa in Israel. An AI consultant in the format of an online chat is needed to assist… AI & Machine Learning, Bot Development ∙ 1 day 8 hours back ∙ 34 proposals |
SMM + content manager for an IT school - experience with funnels and course promotionAbout us A young practical IT education project at the start. We are preparing the first batch of the PM course and building channels from scratch. We are looking for a person with whom we will grow. What needs to be done We have a vision, but no written strategy. We are looking… Social Media Marketing (SMM), Bot Development ∙ 2 days 9 hours back ∙ 24 proposals |