A decentralized Automated Market Maker (AMM) reference implementation for Vara Network. This project provides a complete DeFi trading platform with liquidity provision, token swapping, and automated fee distribution powered by Gear Protocol smart contracts. Ready to deploy by anyone on Vara Network.
| Contract | Description |
|---|---|
| Factory | Creates and manages trading pairs, handles pair registry |
| Pair | Individual AMM pools with swap logic and liquidity management |
Modern React-based web interface for interacting with the AMM, providing intuitive trading and liquidity management tools.
Blockchain data indexing service that processes AMM events and provides GraphQL API for analytics and real-time data.
- Node.js 18+ and Yarn
- PostgreSQL database
- Rust toolchain for smart contract development
git clone https://github.com/gear-tech/vara-amm.git
cd vara-ammcd contracts
cargo build --releaseSee indexer/README.md for detailed setup instructions.
See frontend/README.md for detailed setup instructions.
This project is licensed under the MIT License - see the LICENSE file for details.