The container launches CMC Chief keeper to implement decisions made by voting MonolithosDAO and update spell status on https://governance.monolithos.pro/. To keeper, you must set the input parameters.
You can see a list of all parameters by running the docker run --rm monolithos/cms-chief-keeper --help command
For start keeper run
docker run --rm --name 'MyChiefKeeper' monolithos/cms-chief-keeper \
--rpc-host http://192.168.0.5:8545 \
--address-private-key 0x00KEEPER_ETH_PRIVATE_KEY000000000000000000001 \
--eth-from 0x00KEEPER_ETH_ADDRESS001 \
--network mainnet \
--firebase-api-key AI0000DbPG-h000t-----Demo----QAH0000EQ \
--firebase-auth-domain database.firebaseapp.com \
--firebase-database-url https://database.firebaseio.com
For stop keeper run docker exec MyChiefKeeper kill -2 $(docker exec MyChiefKeeper pgrep python)
required params:
-rpc | --rpc-host Url of the rpc, ethereum node, which will be used to interact with the blockchain
EXAPLE: http://192.168.0.5:8545
-pk | --address-private-key Private key ethereum account that will be used to send transactions
EXAMPLE: 0x0000000000000000000000000000000000000000001
-a | --eth-from Address ethereum account that will be used to send transactions
EXAMPLE:0x0000000000000000000000001
-n | --network Name of the ethereum network where the votes is being held
POSSIBLE OPTIONS: mainnet, kovan
DEFAULT: mainnet
EXAMPLE: kovan
-fak | --firebase-api-key Firebase api key
EXAMPLE: AI0000DbPG-h000t-----Demo----QAH0000EQ
-fad | --firebase-auth-domain Firebase auth domain
EXAMPLE: database.firebaseapp.com
-fdu | --firebase-database-url Url address your firebase database
EXAMPLE: https://database.firebaseio.com
optional params:
--rpc-timeout JSON-RPC timeout (in seconds)
DEFAULT: 10
EXAMPLE: 20
--from-block Starting block from which to find vaults to bite or debt to queue (set to block where MCD was deployed 10310344 )
DEFAULT: 10310344
EXAMPLE: 10500000
--max-errors Maximum number of allowed errors before the keeper terminates
DEFAULT: 100
EXAMPLE: 200
--fixed-gas-price Uses a fixed value (in Gwei) instead of an external API to determine initial gas
Places an upper bound (in Gwei) on the amount of gas to use for a single TX
-fsb | --firebase-storage-bucket Firebase storage bucket
DEFAULT: ""
EXAMPLE: database.appspot.com
--telegram-bot-token A token from your telegrams of the bot that will send the logs with errors
EXAMPLE: 1000000006:AAGwDemoXDemopDemoNIS-F8bDemoXDemo8
--keeper-name Name of your keeper
EXAMPLE: my_favorite_Keeper
--telegram-chat-id A list of telegram chat id to which logs will be sent by your bot.
THE LIST OF ADDRESSES IS PASSED AS FOLLOWS: --telegram-chat-id 000000001 --telegram-chat-id -000000001
EXAPLE: --telegram-chat-id -000000001
-h | --help Print help
Docker image created by the Monolithos team
Content type
Image
Digest
Size
402.8 MB
Last updated
almost 6 years ago
docker pull monolithos/cms-chief-keeper