The main changes to the quoting function have been made in quote.ts where the ABI of multicall contract has been concatinated to the qouter contract ABI. The system is still not fully functional but the base framework is in place.
This application is a read only quoting application that communicates with the Ethereum mainnet. To configure the input token/amount and output token, edit the configuration file. The code should need no further modification to function.
- Run
yarn install
to install the project dependencies - Run
yarn install:chain
to download and install Foundry
- Create aun API key using any of the Ethereum API providers and grab the respective RPC URL, eg
https://mainnet.infura.io/v3/0ac57a06f2994538829c14745750d721
- Set that as the value of the
mainnet
rpc
vale inside the config.
Run yarn start
and navigate to http://localhost:3000/