VORPAL
Background
The client, based in Kazakhstan, had a ready design and needed it turned into a working AMM exchange modeled after PancakeSwap. The DEX had to run on BNB Smart Chain, let users swap, farm and stake from their own wallets, and show exactly how much each position earns. The timeline was tight, so the client needed one team to cover smart contracts, frontend and DevOps.
Results:
- Delivered a working AMM DEX in 6 sprints (11.2021 – 08.2022)
- Moved the exchange to BNB Smart Chain with BNB for transactions
- Connected MetaMask and other Web3 wallets
- Launched token swaps, farming and staking
- Added earnings tracking and income reports for every position
Tasks and challenges
The hardest part was not the swap itself but the money math. Farming and staking rewards change with every block, pool share and token price, and users expect to see exactly what they earn. On top of that, the DEX had to move to BNB Smart Chain, work with popular Web3 wallets and launch on a short timeline without cutting reliability.
- Fork PancakeSwap as a tested AMM core
- Move the DEX to BNB Smart Chain with BNB for transactions
- Connect MetaMask and other Web3 wallets
- Build swaps, farming and staking
- Calculate and show earnings for every position
Solution
Peiko forked PancakeSwap as the AMM core and moved it to BNB Smart Chain, with BNB used for transactions and fees. On top of the core, the team connected Web3 wallets, wired the frontend to the smart contracts and built token swaps, farming and staking. The main custom work went into earnings: the team optimized the reward contracts and built calculations that show users what each trade, farm and staking position earns, plus income reports across all their investments. DevOps set up the deployment so the DEX could launch on schedule.
- AMM DEX based on a PancakeSwap fork
- BNB Smart Chain and BNB for transactions and fees
- MetaMask and other Web3 wallets
- Token swaps, farming and staking
- Earnings calculation and income reports for every position
our point of view
Take a closer look
Hire us

