Skip to content

Jimbojone/liquidation-bot

 
 

Repository files navigation

Moola-liquidation

Moola-liquidation is a test project for writing automatic liqudations.

Installation

Use the package manager npm to install all necessary modules.

npm install

Deploy locally

Bring database up (you will need Docker installed) (important step before running project)

npm run up

Create empty tables for database (important step before running project)

npm run init

Stop database in safe mode (keep data untill next launch)

npm run down

Fresh database (full database restart)

npm run clear

Run the automatic liquidation

Run following command from the root project directory

npm start

Configure user who will be liquidate others

In the root directory of project find file called config.env and pass your values

Without the private key, automated liquidation will be turned off.

USER_ADDRESS={YOUR_ADDRESS}
USER_PRIVATE_KEY={YOUR_PRIVATE_KEY}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.6%
  • Shell 0.4%