Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/interest-protocol/interest-swap
Volatile and Stable DEX
https://github.com/interest-protocol/interest-swap
defi ethereum evm smart-contracts solidity
Last synced: about 2 months ago
JSON representation
Volatile and Stable DEX
- Host: GitHub
- URL: https://github.com/interest-protocol/interest-swap
- Owner: interest-protocol
- Created: 2022-05-17T10:19:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-15T06:07:33.000Z (about 2 years ago)
- Last Synced: 2024-11-19T22:52:55.685Z (2 months ago)
- Topics: defi, ethereum, evm, smart-contracts, solidity
- Language: TypeScript
- Homepage: https://www.interestprotocol.com
- Size: 786 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# :seedling: Welcome to Interest Protocol! :seedling:
[![codecov](https://codecov.io/gh/interest-protocol/interest-swap/branch/main/graph/badge.svg?token=FF611VO5MR)](https://codecov.io/gh/interest-protocol/interest-swap)
[![docs](./assets/gitbook_2.svg)](https://docs.interestprotocol.com/)
[![twitter](./assets/twitter.svg)](https://twitter.com/interest_dinero)
[![discord](./assets/discord.svg)](https://discord.gg/PJEkqM4Crk)
[![reddit](./assets/reddit.svg)](https://www.reddit.com/user/InterestProtocol)Interest Swap is a DEX that supports both the constant product and stable swap invariant.
## :money_with_wings: Features :money_with_wings:
- Swap Between stable and volatile pairs
- Create volatile and stable pairs
- Provide liquidity to pairs to earn fees
- Router will automatically find best prices between stable and volatile pairs
- Flash loans via hook function
- 24 hour TWAP Oracle## :fire: Technology :fire:
Core technologies:
- [Typescript](https://www.typescriptlang.org/)
- [Hardhat](https://hardhat.org/)
- [Solidity](https://docs.soliditylang.org/)> :warning: **If your node runs out of memory write in your terminal `export NODE_OPTIONS="--max-old-space-size=8192" `**
## Swap Formulas
- Stable pairs follow the stableswap invarant [x3y+y3x >= k](https://curve.fi/files/stableswap-paper.pdf)
- Volatile pairs follow the constant product invariant [x * y >= k](https://uniswap.org/whitepaper.pdf)## Credits
- Andre Cronje [solidly](https://github.com/solidlyexchange/solidly)
- Uniswap [V2 Core](https://github.com/Uniswap/v2-core)
- Curve [exchange](https://github.com/curvefi/curve-contract)## Social Media
**Get in touch!**
- [email protected]
- [Twitter](https://twitter.com/interest_dinero)
- [Medium](https://medium.com/@interestprotocol)
- [Reddit](https://www.reddit.com/user/InterestProtocol)
- [Telegram](https://t.me/interestprotocol)
- [Discord](https://discord.gg/PJEkqM4Crk)