GEB Docs
Search…
Running in Docker
Running a collateral auction-keeper in a docker container.

1) Get RAI

Buy RAI from Uniswap v2 or open a SAFE and generate it.

2) Create the keeper run file

Create a file called run_auction_keeper.sh and paste the following code in it:
1
#!/bin/bash
2
3
docker run -it \
4
-v <KEYSTORE DIR>:/keystore \
5
reflexer/auction-keeper:latest \
6
--rpc-uri <ETH_RPC_URL> \
7
--eth-from <KEEPER ADDRESS> \
8
--eth-key key_file=/keystore/<KEYSTORE FILE>
Copied!

Then, substitute the following variables:

KEYSTORE_DIR - the local directory where your keystore file is
KEYSTORE_FILE - your Ethereum UTC JSON keystore filename
For more information about this keystore format and how to generate them:
ETH_RPC_URL - the URL of the ethereum RPC connection
KEEPER_ADDRESS - the keeper's address. It must be in a checksummed format

Finally:

chmod +x run_auction_keeper.sh

3) Start the keeper and enter your keystore file password

./run_auction_keeper.sh
1
$ ./run_auction_keeper.sh
2
latest: Pulling from reflexer/auction-keeper
3
Digest: sha256:7e55ec9b0a136fc903d9f7f2690538bcbde9029d957e0e6f84d0282790f9666a
4
Status: Downloaded newer image for reflexer/auction-keeper:latest
5
docker.io/reflexer/auction-keeper:latest
6
Password for /keystore/key.json:
Copied!
Last modified 10mo ago