Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Pubkeys module #162

Closed
hacheigriega opened this issue Jan 11, 2024 · 1 comment · Fixed by #299 or #320
Closed

✨ Pubkeys module #162

hacheigriega opened this issue Jan 11, 2024 · 1 comment · Fixed by #299 or #320
Labels
type: feature ✨ New feature or request

Comments

@hacheigriega
Copy link
Member

✨ Feature

Motivation

The pubkeys module would serve as a repository for various public keys used in the protocol. Having a separate module for this purpose has the following advantages:

  • Provide a central repository of public keys that other modules can have access to
  • Facilitate management of keys on various curves (For example, we need to implement a single transaction endpoint for registering keys of any type)
  • Support key rotation (to be implemented later)

Implementation

The store for this module would have the following key-value scheme:

validator | curve -> public_key

There would be a single transaction endpoint for registering a key. A flag --rotate may be added to request overwriting an existing key.

$ seda-chaind tx pubkeys register <valoper> <curve> <pubkey> --from <delegator_key>
@hacheigriega
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature ✨ New feature or request
Projects
None yet
1 participant