Skip to content

gear-foundation/vara-amm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vara AMM

Overview

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.

🏗 Architecture

Smart Contracts (/contracts)

Contract Description
Factory Creates and manages trading pairs, handles pair registry
Pair Individual AMM pools with swap logic and liquidity management

Frontend Application (/frontend)

Modern React-based web interface for interacting with the AMM, providing intuitive trading and liquidity management tools.

Indexer Service (/indexer)

Blockchain data indexing service that processes AMM events and provides GraphQL API for analytics and real-time data.

🚀 Quick Start

Prerequisites

  • Node.js 18+ and Yarn
  • PostgreSQL database
  • Rust toolchain for smart contract development

1. Clone Repository

git clone https://github.com/gear-tech/vara-amm.git
cd vara-amm

2. Smart Contracts

cd contracts
cargo build --release

3. Indexer Setup

See indexer/README.md for detailed setup instructions.

4. Frontend Development

See frontend/README.md for detailed setup instructions.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

twit github discord medium medium

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •