Running in Docker
Running a debt auction keeper in a Docker container
A basic debt auction bidding model can be found in
models/debt_model.py. This model retrieves the latest FLX/USD price from Coingecko and will automatically place bids in an auction.
You probably want to modify the following variables in
MAXIMUM_FLX_MULTIPLIER: the maximum acceptable FLX price to use when bidding. Default:
0.90meaning the maximum price to pay when biding for FLX (with RAI) is 90% of the current FLX/USD market price from Coingecko
MY_BID_DECREASE: the bid decrease (in FLX) to propose when outbidding another bidder. If the value is smaller than the debt auction house's
bidDecrease, then it will use the value set in the debt auction house. Example: a value of
1.10will use bid decreases of 10%. Note: the current
bidDecreaseon mainnet is
chmod +x debt_model.py.
Modify the following variables in
KEEPER_ADDRESS- the keeper's address. It should be in checksummed format (not lowercase)
ETH_RPC_URL- the URL of your Ethereum RPC connection
KEYSTORE_DIR- the full path of the directory where your keystore file is
MODEL_DIR- the full path of directory where your
KEYSTORE_FILE- your Ethereum UTC JSON keystore filename. For more information about the keystore format and how to generate it, check Ethereum UTC / JSON Wallet Encryption or keythereum.
GAS_MAXIMUM-maximum gas price, in GWEI
chmod +x run_debt_keeper.sh.
latest: Pulling from reflexer/auction-keeper
Status: Downloaded newer image for reflexer/auction-keeper:latest
Password for /keystore/key.json: