Improve Keeper instructions
This commit is contained in:
parent
6aedee3916
commit
2a20abb80c
11
README.md
11
README.md
|
@ -159,7 +159,14 @@ yarn cli add-perp-market mango_test_v2.2 BTC
|
|||
```
|
||||
|
||||
## Run the Keeper
|
||||
Set your keypair (e.g. copy this over to KEYPAIR env variable cat ~/.config/solana/id.json)
|
||||
1. Install Node.js and npm (https://nodejs.org/en/download/), and Git (https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
|
||||
2. Open a new terminal window (if running Windows use Git Bash) and run `npm install -g yarn`
|
||||
3. Run `git clone https://github.com/blockworks-foundation/mango-client-v3.git && cd mango-client-v3` to get the client source code
|
||||
5. Run `yarn install` to install dependencies
|
||||
6. Set the KEYPAIR env variable (e.g. `export KEYPAIR=$(cat ~/.config/solana/id.json)`, or copy from Sollet)
|
||||
8. Run `yarn keeper` to start the Keeper
|
||||
|
||||
Example:
|
||||
```
|
||||
KEYPAIR=[123, 456, 789, ...] yarn keeper
|
||||
```
|
||||
|
@ -195,4 +202,4 @@ git clone https://github.com/blockworks-foundation/mango-client-v3.git
|
|||
cd mango-client-v3
|
||||
yarn install
|
||||
KEYPAIR=~/.config/solana/id.json GROUP=mainnet.1 MANGO_ACCOUNT_NAME=mm MARKET=ADA INTERVAL=5000 SIZE_PERC=0.05 CHARGE=0.0015 LEAN_COEFF=0.00075 yarn mm
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue