Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
NEP 0413: Add
signMessage
method to Wallet Standard #413NEP 0413: Add
signMessage
method to Wallet Standard #413Changes from all commits
1dbc444
4327348
125ab00
6567fb5
e4ece58
8cc4e6e
763d0ae
287153d
6a14033
af93733
eff4cc9
c2512a4
9327ae8
34fed8c
ab4b493
cba446e
23eeda8
343fe16
dbaeece
b8d698f
0084811
129b452
36b02bc
5b9ddc0
1115399
2e13c7c
9159dec
dd84fb4
a18917a
8721a7a
16eeef1
112dd78
a84a43f
c4065d2
be0e30d
d278e48
17c4ec5
d68a682
2e43d0e
5d5712a
23bd3ac
3a33754
53070e7
8b0b05c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
@gagdiez is there any way/example on how to verify the signature for browser wallets?
The verifySignature function in the example needs the
message
,nonce
,recipient
andcallbackUrl
to re-construct the payload which was actually signed but we lose all this data on redirect?What we get back in the URL is only the
SignedMessage
.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.
with the current approach, you will need the user to pass it back to you. If you are implementing an app in which the user is asked to sign a message, then you will need to persist somewhere the parameters, redirect the user to the wallet, get the key+signature from fragment, and the rest of the parameters from the persisted storage.