Search
K
Comment on page

Installation

Prerequisites

  • Wallet on the Goerli testnet funded with sufficient GoETH for transaction gas fees
  • Execution layer node end-point
  • Reliable internet connection

Installation

git clone https://github.com/bloxapp/ssv-liquidator.git
cd ssv-liquidator
yarn install
yarn cli --help
This installation requires NodeJS on your machine.

Arguments

Parameter
Description
--node-url
The Ethereum execution node end-point
--private-key
Private key of the liquidator's wallet
--ssv-token-address
SSV token contract address
--ssv-network-address
The ssv.network contract address
--ssv-network-views
The ssv.network views contract address
--gas-price
Gas price heuristic according to the median gas price suggested by web3 gas price oracle:
  • Low (*0.1)
  • Med (*0.2)
  • High (*0.3)

Run

The liquidator bot could be initiated with arguments in the yarn cli command or by using the .env variables.
CLI
.ENV variables
yarn cli --node-url=eth.infra.com --private-key=a70478942bf... --ssv-network-address=0x425890f2a5g... --ssv-network-views-address=0x425890f2a5g... --gas-price=slow --ssv-token-address=0x425890f2a5g84hw94...
yarn cli
NODE_URL=eth.infra.com
SSV_NETWORK_ADDRESS=0x425890f2a5g...
SSV_NETWORK_VIEWS_ADDRESS=0x425890f2a5g...
SSV_TOKEN_ADDRESS=0x425890f2a5g84hw94...
ACCOUNT_PRIVATE_KEY=a70478942bf...
GAS_PRICE=medium
HIDE_TABLE=false