Skip to main content

Installation

Hoodi is not supported

Please note that SSV Mainnet has enough liquidators at the moment, so the tool is not actively updated. There is no official Hoodi support for ssv-liquidator tool.

Prerequisites

  • Wallet funded with sufficient ETH for transaction gas fees on the chosen network (Mainnet or Holesky)
  • Execution layer node end-point
  • Reliable internet connection
  • NodeJS installed on your machine

The minimum hardware requirements are very low. A single board computer could run multiple instances of the bot, along with other tasks and services, without perceiving an impact on performance.

Installation

git clone https://github.com/ssvlabs/ssv-liquidator.git
cd ssv-liquidator
yarn install
yarn cli --help

Arguments

CLI Parameter.ENV VariableDescription
--node-urlNODE_URLThe Ethereum execution node end-point
--private-keyACCOUNT_PRIVATE_KEYPrivate key of the liquidator's wallet
--liquidator-typeLIQUIDATOR_TYPEThe liquidator type. eth ssv
--ssv-sync-envSSV_SYNC_ENVThe SSV sync environment. prod (default) or stage
--ssv-syncSSV_SYNCThe SSV contract name. v4.hoodi (default) or v4.mainnet
--gas-priceGAS_PRICEGas price heuristic according to the median gas price suggested by web3 gas price oracle: low (0.1), med (0.2), high (0.3). Default: low
--hide-tableHIDE_TABLEHide/show realtime table
--max-visible-blocksMAX_VISIBLE_BLOCKSMax block range to display active clusters (optional, by default: 50000)

Running Options

yarn cli --liquidator-type=eth --ssv-sync-env=<prod | stage> --ssv-sync=<v4.hoodi | v4.mainnet > --node-url=<NODE_URL>  --private-key=<PRIVATE_KEY>  --gas-price=low --max-visible-blocks=<MAX_BLOCKS>
warning

Make sure that --ssv-sync and --node-url parameters (or SSV_SYNC and NODE_URL environment variables) are all relative to the same blockchain.

For example, for Hoodi (using a sample QuickNode RPC endpoint), the command should look like this:

yarn cli \
--ssv-sync-env=prod \
--ssv-sync=v4.hoodi \
--node-url=https://red-silent-dawn.ethereum-hoodi.quiknode.pro/<ACCOUNT_ID>/ \
--private-key=<PRIVATE_KEY> \
--gas-price=slow \
--max-visible-blocks=5000