atharmohammad / Exchange

Exchange is AMM based on constant product curve. Inspired from Balancer and Solana Token Swap Program

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exchange

πŸ”– About

Exchange is an AMM based on constant product curve. Inspired from Balancer and Solana Token Swap Program.

πŸš€ Features

  • Initialize Swap Pool with tokens
  • Deposit tokens to get pool tokens representing the share in the pool
  • Withdraw tokens in exchange for pool tokens
  • Swap token A with token B and vice versa after some fee

** CODE IS NOT AUDITED AND STILL WIP **

About

Exchange is AMM based on constant product curve. Inspired from Balancer and Solana Token Swap Program


Languages

Language:Rust 96.6%Language:TypeScript 3.4%