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

CIP36 - Catalyst Registration Transaction #402

Open
3 tasks
jinglescode opened this issue Nov 19, 2024 · 0 comments
Open
3 tasks

CIP36 - Catalyst Registration Transaction #402

jinglescode opened this issue Nov 19, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jinglescode
Copy link
Member

Describe the feature you'd like

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

First of, there are two standard currently in use an valid. CIP-15 and CIP-36. CIP-36 is very similar to CIP-15 with the addition or idea that you can delegate and split your vote power. This last part was never adopted and CIP-36 was reverted to work like CIP-15 with a single delegation.

Both use label 61284 and 61285 metadata. 61284 contains the meat of the registration and 61285 the witness that the content of 61284 is correct (signed by staking key for stake pub set in 61284 metadata)

Another big change between CIP-15 and CIP-36 is that CIP-36 define a catalyst voting derivation path to always be able to derive the same voting key while CIP-15 create throwaway keys for every registration.

The private voting key is encrypted by pin code and the result is what is put in the QR code.

This is how stake key (for vote power) is linked to the vote key put in QR code and used for voting. Both of these are included in the 61284 metadata.

to be linked to a single vote key anyway to vote as single entity in Catalyst

m / 1694' / 1815' / account' / chain / address_index

Then when you create the vote registration transaction. You put this vote key in the 61284 metadata in 1 field. Please note that you can only have a single entry here for current Catalyst system. With the weight of 1. Then the rest of the data is taken from the individual wallets that want to give their vote power to the single vote key.

Additional context

No response

Would you be willing to implement it?

  • Yes, I will implement it.
@jinglescode jinglescode added the enhancement New feature or request label Nov 19, 2024
@jinglescode jinglescode added this to the Mesh BAU / Issues Fix milestone Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants