A Decentralized Exchange implemented in Noir for Aztec Network https://shieldswap.vercel.app.
![image](https://private-user-images.githubusercontent.com/29802592/295758578-54b18a02-4c96-4eda-b96f-4c8d18d0be0b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIwMTIzMTMsIm5iZiI6MTcyMjAxMjAxMywicGF0aCI6Ii8yOTgwMjU5Mi8yOTU3NTg1NzgtNTRiMThhMDItNGM5Ni00ZWRhLWI5NmYtNGM4ZDE4ZDBiZTBiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI2VDE2NDAxM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ1ZDcwOTE0YmM4OWYzZDE1ODc5MmIxMTBhOTQzMjAxNmNiMjU1NjhjMDUxZmM0NTVmMDhkNDZkNWE2OTUzNGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.mjq1g7MYua69fEteGM-N-QHd_B-kJeL-qELEa5aUoV0)
- Create a pool with tokens
- Add liquidity to a pool
- Swap tokens in a pool
- Flash swaps (flash loans)
- LP tokens
- Remove liquidity
- Pool factory
- Trading fees
To run locally you need to have Aztec Sandbox running on "localhost:8080". Then run frontend with:
yarn dev
WARNING: The first open will take a few minutes to deploy and initialize tokens and DEX contracts(progress will be printed to screen and console).
To create a production version of the app:
yarn build
Preview via yarn preview
. To deploy the app, read more here.