Quick start:
-
Install deps
- Root:
npm install - Bot:
cd bot && npm install
- Root:
-
Copy
.env.exampleto.envand fill RPC URLs, PRIVATE_KEY, BOT_PRIVATE_KEY, TRADE_EXECUTOR_ADDRESS after deploy. -
Compile contracts: npm run compile
-
Deploy to testnet: npm run deploy:testnet
-
Copy deployed TradeExecutor address into
.envas TRADE_EXECUTOR_ADDRESS. -
Run bot (in dev): npm run bot:start