-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add Vote Delegation Operation to Rosetta (Installment 1) #288
Comments
Instalment 1 feature -
Instalment 2 feature -
Instalment 3 feature -
|
I took the original GitHub issue and streamlined it to clearly focus on installment 1 only, making the task easier for everyone to understand. I simplified the scope to include just what’s strictly needed first (the vote_deleg_cert operation), and also explicitly called out what’s out-of-scope to help us avoid any confusion about future installments. Lastly, I included handy technical references at the end, so they’re easy to find when someone starts implementing. Let me know if this aligns with what you had in mind! BackgroundWith the Conway era activated, Cardano has introduced governance operations enabling stake credentials to delegate their voting power to Delegate Representatives (DReps). Rosetta, which provides standardized blockchain integration for exchanges and wallets, currently lacks support for these governance-related operations. Implementing vote delegation is the first essential step toward comprehensive governance support. To ensure incremental delivery, we are splitting new governance certificate support into multiple installments (as already noted in the GitHub issue). ObjectiveIntroduce minimal support for the Scope of Work
Technical Requirements
Example:
|
Thank You @linconvidal, within metadata, there is metadata, isn't that it can be either:
Also it seems there is a legacy dRep Id and more up to date one. I need to dig into details of CIP-129 in this regard but at the moment all we need to make sure is that input API is not different and the contract would not change, which I am assuming it doesn't because it is just probably a different "string. In the example above, you also didn't show how we could do no_confidence vote and add some drep_delegation_type parameter. We need to add this to the specification |
Hey! After discussing this with @matiwinnetou earlier today, we concluded that it would be better to introduce a separate field to specify the DRep type. By using two fields, we avoid conflating different identifier formats into a single string, and we also make validation logic more straightforward, because we can branch on Here’s what I have in mind:
Example Usage
What do you think @Kartiiyer12 @matiwinnetou? I’ve also updated my previous comment to reflect these changes, if this approach sounds good to everyone! |
Almost, I suggest a bit differently: No Confidence
and
drep_type is always mandatory, drep_id is optional. the rest very should be analogous |
@matiwinnetou Nice, seems cleaner! |
upon reflection and playing around I propose a slightly different structure, more nested.
|
Why
As we are in the conway era now, the rosetta-java should also start supporting the governance features as a part of the operations.
This is needed -
What
The text was updated successfully, but these errors were encountered: