cargo run -p solver -- --orderbook-url
https://api.cow.fi/mainnet
--node-url "https://mainnet.infura.io/v3/<INFURA_KEY>"
--cow-dex-ag-solver-url "http://127.0.0.1:8000"
--solver-account 0xa6DDBD0dE6B310819b49f680F65871beE85f517e
--solvers CowDexAg
--transaction-strategy DryRun
INFURA_KEY
entry should be replaced with the key associated with our Infura account.cow-dex-ag-solver-url
is just a placeholder flag that indicates where the http solver (i.e., a custom solver) receives requests (which, in our case, will be a localhost server whose IP address is the standard 127.0.0.1), and the CowDexAg
is just a dummy name for the solver we will use. These should not be edited!