Homearrow-rightCasesarrow-rightPancakeswap Robots

Cryptorobotics DeFi Case Study: DApp Platform for DeFi Robots

/img/cases/pancakes.png

Brief description

A DApp platform for assembling and launching trading and yield robots for farming and staking pools without coding — through an on-platform builder

Task

Build a decentralized platform where users assemble and launch yield and trading DeFi robots without code through a builder — for moving between farming and staking pools

About the project

A decentralized platform on EVM networks where users create and launch trading bots for automated work with pools on DEXes (in particular PancakeSwap).The project goal is to provide a no-code tool for assembling yield strategies and smart contracts tailored to user parameters for earning on DEXes

Business benefits

SUBSCRIPTION REVENUE GREW BY 30% THANKS TO AN ADDITIONAL MONETIZATION TOOL AND THE MOVE TO WEB3
CREATED 10,000 NEW WEB3 BOTS
INTEGRATED WEB3 INTO THE BUSINESS

Features

The user independently chooses a strategy, entry/exit parameters, limits, and levels, after which the smart contract automatically deploys the required trading logic.
The smart contract fully executes actions for the user according to the created strategy, entering and exiting positions without user involvement.
Ready-made strategies for users who do not want to go deep into settings; strategies are split into aggressive, neutral, and conservative.
Rebalance liquidity and positions
Rebalance pools
Automatic entry and exit from a position
Take profit
Remove or re-add liquidity depending on the user’s strategy
Protection from interacting with dangerous and scam pools
All actions — deposits, rebalancing, trading, withdrawals — are implemented through smart contracts on BNB Smart Chain
The interface acts only as a front end to the logic and does not store user funds
All user funds remain inside the smart contract
A third party cannot take the user’s funds because the owner of the smart contract is the user who created the trading bot
User connection via a Web3 wallet (Connect Wallet)
Using the wallet as the primary way to sign in to the platform
Access to trading, the personal cabinet, and operations after wallet connection
Confirming actions through the wallet
Signing transactions for deposits, withdrawals, bot launches, and other operations
No classic registration via email and password
Integration of various decentralized exchanges for additional markets, volumes, and earning opportunities
Dashboard tracking impermanent loss
APR and yield by pools
Take-profit and stop-loss levels
Rebalancing and profit-taking activity
Real-time strategy monitoring
Module for collecting statistical data on the platform
Dashboard with key metrics
Systems that allow managing the platform in emergency situations
Subscription plans created and payment services integrated for subscription billing

Technology stack

Redux
React (18) — a library for creating user interfaces.
WalletConnect
Web3/Ethers
Solidity
Java
PostgreSQL
Github Actions
Spring Boot
Web3j
Lombok
TypeScript — for static typing.
ESLint and Prettier — for code checking and formatting
Husky and lint-staged — for automating code checks before commit.

Work with the client

*Important: this is not project work — it is work with the client specifically, and it is not included in the estimate or commercial proposal. This is what we do to increase the probability of product success.First — strengthen the client, then — lines of code. For us it is fundamental: first make the client stronger, and only then their project. That is why every case is always an educational track. We explain how the business we are building works, show the real risks on the path, and teach how to manage them. We give not reports, but a concrete plan and strategy together with an entrepreneurial vision. And we personally accompany the owner along the entire path — as long as needed for decisions to become truly their own.Our goal is not just development — it is our client’s success.

Design goals:

MAKE ROBOT LAUNCH CLEAR EVEN FOR BEGINNERS SO THAT 80% OF USERS REACH ROBOT CREATION
SHOW CONTROL AND TRANSPARENCY SO THAT USERS STAY IN THE PRODUCT

Design results:

USERS WITHOUT TECHNICAL SKILLS CREATE AND LAUNCH ROBOTS IN MINUTES.
USERS RETURN TO THE PRODUCT MORE OFTEN AND SPEND MORE TIME IN IT BECAUSE THEY SEE STRATEGY DYNAMICS.
THE PROJECT GAINS ADDITIONAL REVENUE SOURCES BECAUSE ROBOTS BECOME A SEPARATE PRODUCT INSIDE THE ECOSYSTEM.
THE INTERFACE STRENGTHENS THE SENSE OF RELIABILITY BECAUSE FUNDS DO NOT GO TO THE PLATFORM BUT STAY IN THE SMART CONTRACT.
THE DESIGN SCALES EASILY TO NEW DEXES BECAUSE THE LOGIC IS MODULAR AND REPEATABLE