Rebalancer for intent solver.
Install
nvm use
npm i
Development
npm run start
Format
npm run format
Build
docker build -t solver-rebalancer .
Run
docker run solver-rebalancer
Under config/
folder:
inventoryConfig.ts
: config for token, address, balance threshold and bridge option (currently support Relay protocol and Hyperlane's warp route)warpRoute.ts
: config for warp route source token and it's corresponding routes.collateralToken
: token that is natively on source chainwarpRouteToken
: token that warp on top of collateralToken and being bridged by Hyperlane.
- Arbitrum
- Base
- Artela
- Gnosis
- Optimism
- Unichain