Go to file
dd f728a4f64f separated liquidator from mango repo 2021-03-09 08:32:07 -05:00
src separated liquidator from mango repo 2021-03-09 08:32:07 -05:00
LICENSE Initial commit 2021-03-09 08:20:27 -05:00
README.md separated liquidator from mango repo 2021-03-09 08:32:07 -05:00
package.json separated liquidator from mango repo 2021-03-09 08:32:07 -05:00
tsconfig.json separated liquidator from mango repo 2021-03-09 08:32:07 -05:00
yarn.lock separated liquidator from mango repo 2021-03-09 08:32:07 -05:00

README.md

Mango Liquidator

Setup

Make sure to edit the .env file to look something like this:

export CLUSTER="mainnet-beta"
export CLUSTER_URL="https://solana-api.projectserum.com"
export KEYPAIR=~/.config/solana/id.json
export NODE_ENV=production

Run

yarn install
source .env
yarn liquidate