SkillAgentSearch skills...

Fully Baked Amm

⚖️ A lightweight AMM on Solana, built with Anchor no order books, just smart liquidity and dynamic pricing.

Install / Use

npx skills add baindlapranayraj/fully-baked-amm

Installs into whichever agent you are using.

About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Automated Market Maker (AMM)

Overview

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.

Key Features

  • 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.

Operational Model

Our AMM employs the constant product formula, a proven approach that maintains market equilibrium and allows for reliable, predictable trading rates despite liquidity fluctuations.

Program Architecture

<div align="center"> <img src="Images/architecture.png" alt="Architecture Diagram" width="600"> <p>Overview of the system where administrators create multiple pools and users engage in token swaps or liquidity deposits.</p> </div>

Detailed Visuals

  • Constant Product Curve: <div align="center"> <img src="Images/pool.png" alt="Constant Product Curve" width="600"> </div>
  • Token Swapping: <div align="center"> <img src="Images/swap-tokens.png" alt="Token Swapping" width="600"> </div>
  • Adding Liquidity: <div align="center"> <img src="Images/add-liq.png" alt="Adding Liquidity" width="600"> </div>
  • LP Token Minting: <div align="center"> <img src="Images/lp-mint-tokens.png" alt="Minting LP Tokens" width="600"> </div>
  • Liquidity Withdrawal: <div align="center"> <img src="Images/remove-liq.png" alt="Removing Liquidity" width="600"> </div>

Development Status

  • Smart Contract Development: Completed
  • Testing: Completed
  • Frontend Integration: In Progress

Contributing

We welcome contributions to improve this project. To contribute:

  1. Fork the repository.
  2. Create a new branch (e.g., feature/your-feature-name).
  3. Make your changes and commit them with a clear, descriptive message.
  4. Push your branch to your fork.
  5. Open a Pull Request to propose your changes.

References

Related Skills

View on GitHub
GitHub Stars32
CategoryDevelopment
Updated27d ago
Forks4

Languages

Rust

Security Score

80/100

Audited on Jul 12, 2026

No findings