-
Notifications
You must be signed in to change notification settings - Fork 57
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
feat: Sign message #193
feat: Sign message #193
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.
@evgenykuzyakov Looks good to me, but I don't know if the version update should be part of this PR or a separate effort and whether we should merge it into dev
branch first
feat: clear location hash method added
…anged to be more familiar to developers
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.
Add a changelog
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.
Rebased to dev
CHANGELOG.md
Outdated
@@ -1,5 +1,16 @@ | |||
# Changelog | |||
|
|||
## 2.6.2 |
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.
## 2.6.2 | |
## Pending |
src/lib/vm/vm.js
Outdated
@@ -1612,6 +1612,21 @@ export default class VM { | |||
}; | |||
|
|||
const Near = { | |||
signMessage: (...args) => { | |||
if (args.length < 3) { |
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.
Let's add similar API to call, where if the only 1 argument is given and it's an object, then it passes it directly
…it's an object, then it passes it directly
# Conflicts: # CHANGELOG.md # dist/index.js
This PR enables the use of the signMessage method from the wallet-selector. The user can sign a message with any of the connected wallets for further signature verification on a third-party authentication server.