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

HIP-820 signMessages discussion #840

Closed
wants to merge 3 commits into from
Closed

Conversation

hgraphql
Copy link

@hgraphql hgraphql commented Dec 5, 2023

Add an original suggestion to more closely align the signMessages function with the signature provider API

Description:
This PR is for discussion. In practice, the signer functionality supports multiple messages. This PR is to see if the WalletConnect function should more closely align with that functionality:

https://docs.hedera.com/hedera/sdks-and-apis/sdks/signature-provider/signer

Add an original suggestion to more closely align the `signMessages` function with the signature provider API 

Signed-off-by: Tyler <[email protected]>
Copy link

netlify bot commented Dec 5, 2023

Deploy Preview for hedera-hips ready!

Name Link
🔨 Latest commit c36cbab
🔍 Latest deploy log https://app.netlify.com/sites/hedera-hips/deploys/656fa47d503c8900082cbf2f
😎 Deploy Preview https://deploy-preview-840--hedera-hips.netlify.app/hip/hip-820
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@bugbytesinc bugbytesinc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be changed. hedera_signedMessage is modeled after the ETH equivalent in wallet connect. Furthermore the SignatureMap contains important metadata regarding the keys which sign the message. This change would break supporting multi-signature scenarios.

tmctl added 2 commits December 5, 2023 15:24
Signed-off-by: Tyler <[email protected]>
Signed-off-by: Tyler <[email protected]>
@Volind
Copy link

Volind commented Dec 6, 2023

I would also vote for keeping SignatureMap

@hgraphql
Copy link
Author

closing per group discussion

@hgraphql hgraphql closed this Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants