Inspiration
Liquidity providers are essential to DeFi, but the current experience is unclear and impersonal. LPs deposit assets, get a standard token, and lose sight of real-time fees, impermanent loss, and performance until it’s too late. We wanted to address this lack of transparency and asked: What if every liquidity position worked like a living portfolio instead of a blind receipt?
What it does
MintLP is a decentralized AMM where every liquidity position is created as a detailed NFT. Each NFT represents a unique LP position and tracks pool share, real-time fees, impermanent loss, and historical performance. The platform supports both volatile token swaps using the constant-product model ( x \cdot y = k ) and stablecoin swaps with a StableSwap-style curve, giving LPs and traders a clear, portfolio-like DeFi experience.
How we built it
We developed MintLP as a modern web-based AMM using a custom TypeScript math engine for swap, fee, slippage, and impermanent loss calculations with high-precision math. The frontend is built in React and TypeScript with a glassmorphism UI to improve usability. Liquidity positions are displayed as NFTs with structured metadata. Meanwhile, pool logic, routing, and analytics are managed through a modular service layer. For the hackathon, blockchain interactions are simulated, with the design ready for a smooth transition to Aptos Move smart contracts.
Challenges we ran into
We faced challenges in:
- Designing AMM math that stays accurate within precision limits
- Visualizing complex DeFi concepts like impermanent loss in real time
- Making NFT-based LP positions easy to understand for non-expert users
- Balancing performance, accuracy, and UI responsiveness
Accomplishments that we're proud of
We achieved:
- Transforming LP positions into dynamic NFTs with real-time financial insights
- Implementing dual AMM engines for volatile and stable pairs
- Creating a clear, production-quality DeFi UI instead of a spreadsheet-like interface
- Allowing fee claiming without withdrawing liquidity
What we learned
We discovered that DeFi usability is just as important as protocol math. Transparency builds trust, and clearly visualizing data can significantly enhance user decision-making. We also learned how NFT concepts can extend beyond collectibles to show ownership, state, and financial history.
What's next for MintLP
Next, we plan to launch MintLP on the Aptos testnet, replace mock logic with Move smart contracts, add real wallet integrations, and enable secondary trading of LP NFTs. Long-term, MintLP aims to evolve into a complete portfolio management layer for liquidity providers, not just an exchange.
Built With
- aptos-(move
- architecture-ready)
- css-glassmorphism
- custom-amm-math-engine-(bigint-precision)
- framer-motion
- lucide-icons
- mock-wallet-and-amm-simulation-engine
- react-18
- react-context-api
- shadcn/ui
- tailwind-css
- typescript
- vite
Log in or sign up for Devpost to join the conversation.