The container launches Cage keeper Makes a complete system MonolithosDAO shutdown after shutdown.
To keeper, you must set the input parameters.
You can see a list of all parameters by running the command: docker run --rm monolithos/cage-keeper --help
For start keeper run
docker run --rm --name 'MyCageKeeper' monolithos/cage-keeper \
--rpc-host http://192.168.0.5:8545 \
--address-private-key 0x00KEEPER_ETH_PRIVATE_KEY000000000000000000001 \
--eth-from 0x00KEEPER_ETH_ADDRESS001 \
--network mainnet
For stop keeper run docker exec MyCageKeeper kill -2 $(docker exec MyCageKeeper 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
POSSIBLE OPTIONS: mainnet, kovan
DEFAULT: mainnet
EXAMPLE: kovan
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
--previous-cage Include this argument if this keeper previously helped to facilitate the processing phase of ES (ON/OFF)
EXAMPLE: --previous-cage
--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
--ethgasstation-api-key ethgasstation (https://data.defipulse.com/dashboard/egs) API key
EXAMPLE: 24000000000099c65e0000000000fe338fa0000000000940f20000000000
--gas-maximum Places an upper bound (in Gwei) on the amount of gas to use for a single TX
EXAMPLE: 111.11
--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
400.1 MB
Last updated
almost 6 years ago
docker pull monolithos/cage-keeper