tmkms
tmkms copied to clipboard
Multi-tentant config example
Provide example of a config file with using multiple chain instances on the same kms host.
Here is my config:
[[chain]]
id = "gaia-13003"
key_format = { type = "bech32", account_key_prefix = "cosmospub", consensus_key_prefix = "cosmosvalconspub" }
[[validator]]
addr = "tcp://127.0.0.1:26659" # or "unix:///path/to/socket"
chain_id = "gaia-13003"
reconnect = true # true is the default
secret_key = "/data/test.key"
[[chain]]
id = "kava-testnet-2000"
key_format = { type = "bech32", account_key_prefix = "kavapub", consensus_key_prefix = "kavavalconspub" }
[[validator]]
addr = "tcp://kava-test.ping.pub:26659" # or "unix:///path/to/socket"
chain_id = "kava-testnet-2000"
secret_key = "/data/test.key"
[[chain]]
id = "remote2"
key_format = { type = "bech32", account_key_prefix = "cosmospub", consensus_key_prefix = "cosmosvalconspub" }
[[validator]]
addr = "tcp://47.102.125.104:26659" # or "unix:///path/to/socket"
chain_id = "remote2"
#reconnect = true # true is the default
secret_key = "/data/test.key"
[[providers.yubihsm]]
adapter = { type = "usb" }
auth = { key = 4, password = "kms-validator-password-1y58g2z0dln2j86gsfmx7fcfwhys8uwyg" }
keys = [{chain_ids = ["gaia-13003","remote2"], key = 2},{chain_ids = ["kava-testnet-2000"], key = 11}]