Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.13 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.13 KB

Unit Protocol Liquidator

Monitors Unit Protocol for liquidation opportunities and triggers liquidations

This code is responsible for Unit Protocol Monitoring Telegram Bot as well

Starting your own liquidator

Requirements

  1. Git
  2. Node v18
  3. Yarn
  4. Typescript
  5. pm2
  6. Telegram bot token
  7. Ethereum websocket provider
  8. Ethereum private key with ETH

Developing mode

  1. git clone https://github.com/unitprotocol/liquidator
  2. cd liquidator && cp .env.example .env
  3. Change variable values to your own in .env
  4. yarn install --frozen-lockfile
  5. yarn start

Production mode

  1. git clone https://github.com/unitprotocol/liquidator
  2. cd liquidator && cp .env.example .env
  3. Change variable values to your own in .env
  4. docker-compose up --build