forked from iqlusioninc/tmkms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmkms.toml.example
52 lines (45 loc) · 2.12 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Example KMS configuration file
#
# Copy this to 'tmkms.toml' and edit for your own purposes
# Information about Tendermint 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-1"
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"] }
[[chain]]
id = "irishub"
key_format = { type = "bech32", account_key_prefix = "iap", consensus_key_prefix = "icp" }
# state_file = "/path/to/irishub_priv_validator_state.json"
## Validator configuration
[[validator]]
addr = "tcp://[email protected]:26658"
# or addr = "unix:///path/to/socket"
chain_id = "cosmoshub-1"
reconnect = true # true is the default
secret_key = "path/to/secret_connection.key"
# max_height = "500000"
## Signing provider configuration
# enable the `yubihsm` feature to use this backend
[[providers.yubihsm]]
adapter = { type = "usb" }
auth = { key = 1, password_file = "/path/to/password" } # or pass raw password as `password`
keys = [{ chain_ids = ["cosmoshub-1"], key = 1 }]
#serial_number = "0123456789" # identify serial number of a specific YubiHSM to connect to
#connector_server = { laddr = "tcp://127.0.0.1:12345", cli = { auth_key = 2 } } # run yubihsm-connector compatible server
# enable the `ledger` feature to use this backend
[[providers.ledgertm]]
chain_ids = ["cosmoshub-1"]
# enable the `softsign` feature to use this backend
# note: the `yubihsm` or `ledger` backends are recommended
#[[providers.softsign]]
#chain_ids = ["cosmoshub-1"]
#key_format = "base64"
#path = "path/to/signing.key"