Neutron Create Validator High Availability with Tendermint KMS
Terndermint KMS is Key Management System for Tendermint applications such as Cosmos Validators. This repository contains tmkms, a key management service intended to be deployed in conjunction with Tendermint applications (ideally on separate physical hosts) which provides the following:
High-availability access to validator signing keys
Double-signing prevention even in the event the validator process is compromised
Hardware security module storage for validator keys which can survive host compromise
We recommended you to run KMS service in a separate machine. Becasue this service work for just in case if your another validators down, you have a backup validator.
Hardware
Chunk-Only Producer Specification
Install All Dependencies
Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
# Path to the JSON file containing the private key to use as a validator in the consensus protocol
# priv_validator_key_file = "config/priv_validator_key.json"
# Path to the JSON file containing the last sign state of a validator
# priv_validator_state_file = "data/priv_validator_state.json"
Congrats, You should now be signing blocks! If you cancel the TMKMS process, you will no longer sign blocks and will stop syncing. If you restart the TMKMS process, your validator node will continue to sync from where it left off.
How To Check Result
Check on Your Node Validator Server, if that showing your Address and Pubkey that Successfully
neutrond status 2>&1 | jq .ValidatorInfo
Check On Tendermint KMS Server, find and search this "state connected to validator successfully" after you start kms services