The Automated Market Maker (AMM) is a fully backed, decentralized exchange protocol built using the Anchor framework on the Solana blockchain. Unlike traditional order book trading systems, this AMM leverages algorithmic models to dynamically set prices based on asset supply and demand within liquidity pools.
- Constant Product AMM: Enables efficient two-token trading by leveraging a constant product formula.
- Multiple Liquidity Pools: Administrators can create and manage various pools, enhancing trading flexibility.
- Token Swapping: Provides seamless token exchange capabilities.
- Liquidity Provision: Allows users to effortlessly add liquidity to pools to support the network’s trading operations.
- LP Token Minting: Automatically issues Liquidity Pool tokens to users upon the addition of liquidity.
- Liquidity Withdrawal: Facilitates secure and straightforward asset removal from pools.
Our AMM employs the constant product formula, a proven approach that maintains market equilibrium and allows for reliable, predictable trading rates despite liquidity fluctuations.
Overview of the system where administrators create multiple pools and users engage in token swaps or liquidity deposits.
- Constant Product Curve:
- Token Swapping:
- Adding Liquidity:
- LP Token Minting:
- Liquidity Withdrawal:
- Smart Contract Development: Completed
- Testing: Completed
- Frontend Integration: In Progress
We welcome contributions to improve this project. To contribute:
- Fork the repository.
- Create a new branch (e.g.,
feature/your-feature-name). - Make your changes and commit them with a clear, descriptive message.
- Push your branch to your fork.
- Open a Pull Request to propose your changes.
- AMM Blog Post — A comprehensive guide by @InfectedCrypto that explains AMM principles effortlessly.
- Constant Product Equation — A detailed video by @ProgrammerSmart covering the mathematical foundations behind the AMM.




