Keys. Management

Three types of keys when setting up a Gonka node.

Keys

Details - here: https://gonka.ai/host/key-management/#multi-signature-groups-v1-advancedarrow-up-right

When setting up a node, 3 types of keys are used:

  1. Account Key - Cold wallet - Cold Key - Participant key - Cold wallet - cold key

Functions:

  • Master key that grants permissions to all other keys

  • Must be stored offline on a secure, air-gapped machine

  • Used only for granting permissions and validator registration

  • Protected by a mnemonic phrase - if lost, all access is permanently lost

  1. ML Operational Key - Warm Wallet - Hot key - Hot key

Functions:

  • Authorized by the Account Key for ML-specific transactions

  • Encrypted file on the server, accessed programmatically

  • Automated transactions (inference requests, proof submissions, rewards)

  • Can be rotated/revoked by the Account Key at any time

  1. Consensus Key - Validator Key - (TMKMS - Warm Storage) - Validator key

Functions:

  • Managed by a secure TMKMS service

  • Warm storage with double-signing prevention

  • Block validation and participation in network consensus

  • Can be rotated by the Account Key or authorized delegates

Note: Each of these keys has two parts - Private - Public

From these come two or three more keys:

  1. Account Public Key - is the public part of the Cold key.

  2. ML Operational Key - is the public part of the Hot key.

  3. Consensus Public Key - is the public part of the Consensus Key

Example:

  • address: gonka1yplcem8kfe6vm06t4sl8fskm0we2zslxxu90ta name: gonka-account-key pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A81PtEZR2BoIy2yBdhUk70yC4w00GG2jgWPMFPaIkzzd"}' type: local

Here:

  • gonka1yplcem8kfe6vm06t4sl8fskm0we2zslxxu90ta - Wallet address

  • A81PtEZR2BoIy2yBdhUk70yC4w00GG2jgWPMFPaIkzzd - Public (open) part of the key

circle-info

Note: The wallet's private part is stored as a file on disk. If we get to it later, we might clarify this point. For now β€” it's fine )) Here is a Wikipedia article about keys: https://ru.wikipedia.org/wiki/PGP#%D0%9A%D0%BB%D1%8E%D1%87%D0%B8arrow-up-right

Conclusion

These keys must be set up correctly. Information on how to set them up properly and how to verify correct setup will be provided in other articles.

References

END

Last updated