Last Days of Web3Bridge Cohort VI Task 1
This contract creates a market for only two tokens. Price feeds are gotten from chainlink. The tokens must be EIP20 compliant and should have a supported price feed from chain link that gives the price of the token in ETH.
- Clone the repository and run npm install
- Edit sampleData/index.ts to taste
- Edit and run scripts/deployTokenSwap
- Edit and Run scripts/addLiquidity in order to Pump liquidity into the market. Do this step twice, once for each token.
- Edit and Run scripts/viewBalance
- Edit and Run scripts/swapToken
- Do step 5 to confirm that balance has been updated.