Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atharmohammad/exchange
Exchange is AMM based on constant product curve. Inspired from Balancer and Solana Token Swap Program
https://github.com/atharmohammad/exchange
amm anchor-lang defi rust solana
Last synced: 1 day ago
JSON representation
Exchange is AMM based on constant product curve. Inspired from Balancer and Solana Token Swap Program
- Host: GitHub
- URL: https://github.com/atharmohammad/exchange
- Owner: atharmohammad
- Created: 2023-08-30T17:44:11.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-24T18:45:28.000Z (over 1 year ago)
- Last Synced: 2023-10-24T19:35:53.041Z (over 1 year ago)
- Topics: amm, anchor-lang, defi, rust, solana
- Language: Rust
- Homepage:
- Size: 115 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Exchange
## 🔖 About
Exchange is an AMM based on constant product curve. Inspired from Balancer and Solana Token Swap Program.
- Constant product:
`(A+A') * (B-B') = Invariant`- Balancer WhitePaper:
https://balancer.fi/whitepaper.pdf- Solana Token Swap:
https://spl.solana.com/token-swap## 🚀 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 **