forked from tendermint/tmkms
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tmkms.toml.example
38 lines (33 loc) · 1.5 KB
/
tmkms.toml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Example KMS configuration file
#
# Copy this to 'tmkms.toml' and edit for your own purposes
# Information about Tenderment blockchain networks this KMS services
#
# - id: The chain ID for this chain
# - key_format: How this chain handles serialization. Type may be "bech32" or "hex"
# - state_file (optional): path to where the state of the last signing operation is persisted
# - state_hook (optional): user-specified command to run on startup to obtain the current height
# of this chain. The command should output JSON which looks like the following:
# {"latest_block_height": "347290"}
[[chain]]
id = "cosmoshub"
key_format = { type = "bech32", account_key_prefix = "cosmospub", consensus_key_prefix = "cosmosvalconspub" }
# state_file = "/path/to/cosmoshub_priv_validator_state.json"
# state_hook = { cmd = ["/path/to/block/height_script", "--example-arg", "cosmoshub"] }
# Validator configuration
[[validator]]
addr = "tcp://example1.example.com:26658" # or "unix:///path/to/socket"
chain_id = "cosmoshub"
reconnect = true # true is the default
secret_key = "path/to/secret_connection.key"
# Provider configuration
[[providers.softsign]]
chain_ids = ["cosmoshub"]
path = "path/to/signing.key"
[[providers.yubihsm]]
adapter = { type = "usb" }
auth = { key = 1, password = "password" } # Default YubiHSM admin credentials. Change ASAP!
keys = [{ chain_ids = ["cosmoshub"], key = 1 }]
#serial_number = "0123456789" # identify serial number of a specific YubiHSM to connect to
[[providers.ledgertm]]
chain_ids = ["cosmoshub"]