This project is an implementation of a decentralized exchange protocol (similar to Sushi swap).
A decentralised exchange is a trading platform that operates without a central authority, allowing users to trade directly with one another. This model enhances privacy, reduces risks of hacking, and minimizes reliance on intermediaries, promoting a fair trading environment.
Smart contract | Purpose |
---|---|
DEX | implements a decentralized exchange (DEX) allowing users to add and remove liquidity, as well as swap between ETH and ENC token. |
ENC | ERC20 Token |
- On a separate Terminal, run a hardhat network (keep this terminal up)
yarn chain
- Open a new terminal and deploy the smart contracts by running
yarn deploy
- After the deploy, run the webapp using
yarn start
The project is based on the scafford-eth-2.
- Nextjs
- RainbowKit
- Hardhat
- Wagmi
- Viem
- TypeScript