NostraSwap
A new-generation AMM that provides a stable and secure price oracle, and offers the fairest token swap prices.
Screenshots


Problem Statement
A new-generation AMM that provides a stable and secure price oracle, and offers the fairest token swap prices. We achieve this by doing the following:Built-in arbitrage feature right into swap transactionSplit arbitrage profit between liquidity providers and tradersImpose a Limited Price Impact mechanism on the price oracleBenefits:Liquidity providers get compensated for their impermanent loss risk through profit splitting from built-in arbitragingTraders get compensated for price slippage through profit splitting from built-in arbitragingBuilt-in arbitrage and limited price impact oracle provides oracle consumer with more accurate on-chain oracle price
Solution
For our smart contract, we used hardhat as our development environment. We used Uniswap V2 through@uniswap/liband@uniswap/v2-corejs libraries to perform the built-in arbitrage.For our frontend, we use Typescript and Next.js. In addition, we used Jupyter Notebook for our initial simulation, python scripting for our backtesting.
Hackathon
HackMoney 2021
2021