-
Notifications
You must be signed in to change notification settings - Fork 0
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
Spend auth signature #5
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left just one comment to address
src/app.ts
Outdated
return { | ||
signature: signatureResponse.readBytes(signatureResponse.length()), | ||
spendAuth_signature: spendAuthSignature |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we are using camel case generally. Don't you think it is better to stick to that?
src/app.ts
Outdated
@@ -46,6 +44,8 @@ export class PenumbraApp extends BaseApp { | |||
SIGN: 0x02, | |||
FVK: 0x03, | |||
TX_METADATA: 0x04, | |||
GET_SPEND_AUTH_SIGNATURES: 0x05, | |||
GET_BINDING_SIGNATURES: 0x06, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GET_DELEGATOR_SIGNATURES??
* Feat/metadata (#4) * Add tx metadata instruction and handle it correctly * Remove address index from sign method * not send metadata if it is empty --------- Co-authored-by: abenso <[email protected]> * Spend auth signature (#5) * add spend auth and delegator vote signatures --------- Co-authored-by: Natanael Mojica <[email protected]>
Add an API to retrieve the spend authorization signature