· 6 years ago · Mar 23, 2019, 11:08 AM
1# Example KMS configuration file
2#
3# Copy this to 'tmkms.toml' and edit for your own purposes
4
5# Information about Tendermint blockchain networks this KMS services
6#
7# - id: The chain ID for this chain
8# - key_format: How this chain handles serialization. Type may be "bech32" or "hex"
9# - state_file (optional): path to where the state of the last signing operation is persisted
10# - state_hook (optional): user-specified command to run on startup to obtain the current height
11# of this chain. The command should output JSON which looks like the following:
12# {"latest_block_height": "347290"}
13[[chain]]
14id = "gaia-13002"
15key_format = { type = "bech32", account_key_prefix = "cosmospub", consensus_key_prefix = "cosmosvalconspub" }
16# state_file = "/path/to/cosmoshub_priv_validator_state.json"
17# state_hook = { cmd = ["/path/to/block/height_script", "--example-arg", "cosmoshub"] }
18
19# Validator configuration
20[[validator]]
21addr = "tcp://127.0.0.1:48888"
22chain_id = "gaia-13002"
23reconnect = true # true is the default
24secret_key = "/home/keeper/.kms/connection.key"
25
26[[providers.ledgertm]]
27chain_ids = ["gaia-13002"]