For this Polkadot Hackathon, we relied on tutorials provided by Astar, and are competing for the bounty: Build a DeFi dApp with ink! which entails:
- Build a DEX with ink! based on Astar's tutorial
- Add a frontend to interact with our contracts
We converted the following Uniswap V3 contracts from Solidity to ink!:
- Factory Contract
- Pool Deployer (merged with our factory contract)
- Pool Contract*
*this conversion is currently in progress as this contract is quite large and calls many other functions from the library.
Uniswap V3 comes with many features that make it one of the most flexible and efficient Automated Market Makers (AMM). Thus, previous AMM versions become obsolete (f.i. Uniswap V2, SushiSwap, etc.).
This conversion to ink! enables users to gain access to Polkadot's interoperability features. Thus, allowing this project to tap into a wider network of assets and users which will lead to an increase DeFi activity.
The frontend has been created. The connections with our smart contracts are underway as we need to implement additional contracts.