The following instructions are a brief walkthrough and not a comprehensive guideline. You should consider and research more about the security implications of activating an external KMS.
KMS and Ledger Tendermint app are currently work in progress. Details may vary. Use with care under your own risk.
The KMS may complain that it cannot connect to gaiad. That is fine, we will fix it in the next section.This output indicates the validator key linked to this particular device is: cosmosvalconspub1zcjduepqy53m39prgp9dz3nz96kaav3el5e0th8ltwcf8cpavqdvpxgr5slsd6wz6fTake note of the validator pubkey that appears in your screen. We will use it in the next section.
You need to enable KMS access by editing .gaia/config/config.toml. In this file, modify priv_validator_laddr to create a listening address/port or a unix socket in gaiad.For example:
...# TCP or UNIX socket address for Tendermint to listen on for# connections from an external PrivValidator processpriv_validator_laddr = "tcp://127.0.0.1:26658"...
Let’s assume that you have set up your validator account and called it kmsval. You can tell gaiad the key that we’ve got in the previous section.
Now start gaiad. You should see that the KMS connects and receives a signature request.Once the ledger receives the first message, it will ask for confirmation that the values are adequate.Click the right button if the height and round are correct.After that, you will see that the KMS will start forwarding all signature requests to the ledger:
The word TEST in the second picture, second line appears because they were taken on a pre-release version.Once the app has been released in Ledger’s app store, this word should NOT appear.
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.