17 lines
307 B
Markdown
17 lines
307 B
Markdown
|
# 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
|
||
|
```
|