Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

Multi-tentant config example #239

Open
zmanian opened this issue Apr 21, 2019 · 1 comment
Open

Multi-tentant config example #239

zmanian opened this issue Apr 21, 2019 · 1 comment

Comments

@zmanian
Copy link
Contributor

zmanian commented Apr 21, 2019

Provide example of a config file with using multiple chain instances on the same kms host.

@liangping
Copy link

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}]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants