Our AMM DEX on the SUPRA MoveVM chain simplifies and secures DeFi interactions, maximizing $SUPRA's utility and providing users with powerful tools for seamless financial management.
We’ve created a novel algorithmic stablecoin, collateralized with $SUPRA to maintain a 1 USD peg. This offers:
Inspired by Uniswap v3, our DEX is tailored to SUPRA's ecosystem and includes:
The platform enables minting of blue-chip tokens, allowing users to:
Through a Custom Basic Router, the platform integrates all functions—swapping, minting, and pool interactions—offering:
The app empowers users to:
This platform transforms how users engage with DeFi on SUPRA, combining innovation, safety, and simplicity in a future-ready ecosystem.
Building our DeFi SuperApp on the SUPRA MoveVM chain came with its fair share of challenges, as the chain had only been on mainnet for two weeks. With $SUPRA being the only token available, we developed an algorithmic stablecoin over-collateralized with $SUPRA to maintain its 1 USD peg. Our long-term vision is to expand this stablecoin into a hybrid mechanism that integrates a diversified blue-chip token treasury, dynamically managed using AI governance.
One of the biggest hurdles we faced was related to the DEX mechanism. We implemented a Uniswap v3-style AMM with custom stable pool functionality. However, during pool creation, we encountered overflow and underflow issues due to tokens having different decimals and rate types. To solve this, we developed our own math module to handle these scenarios effectively, allowing us to define custom curve mechanisms and ensure accuracy in all calculations.
We also created a Custom Basic Router to simplify integration and function calls for various operations, such as swapping, minting, and pool interactions. This made the workflow more streamlined and user-friendly. Additionally, we used custom shell scripts to automate processes and handle repetitive tasks, which helped improve efficiency.
Frontend integration presented another significant challenge. Since SUPRA is a new chain, there was limited documentation, no adapters for dApp integration, and a lack of hooks or libraries to interact with the chain. This meant we had to build many components from scratch, such as custom adapters to connect the frontend with SUPRA's infrastructure. Despite these limitations, we approached the task step by step, using our foundational knowledge of blockchain to create a smooth and functional frontend experience.
While building on such a new chain was not without its difficulties, the process gave us valuable insights into DeFi and blockchain development. These challenges pushed us to think creatively and improve our problem-solving s
Everything in this dApp was built from scratch
Tracks Applied (1)
Supra
Technologies used
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.
Discussion