description |
---|
Running a collateral auction-keeper in a docker container. |
Buy RAI from Uniswap v2 or open a SAFE and generate it.
Create a file called run_auction_keeper.sh
and paste the following code in it:
#!/bin/bash
docker run -it \
-v <KEYSTORE DIR>:/keystore \
reflexer/auction-keeper \
--rpc-uri <ETH_RPC_URL> \
--eth-from <KEEPER ADDRESS> \
--eth-key key_file=/keystore/<KEYSTORE FILE>
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
chmod +x run_auction_keeper.sh
./run_auction_keeper.sh
$ ./run_auction_keeper.sh
Pulling from reflexer/auction-keeper
Digest: sha256:7e55ec9b0a136fc903d9f7f2690538bcbde9029d957e0e6f84d0282790f9666a
Status: Downloaded newer image for reflexer/auction-keeper
docker.io/reflexer/auction-keeper
Password for /keystore/key.json: