[Feat] Message verification and signing
See original GitHub issueHey,
I think adding message verification and signing would be a nice addition to this library.
As I need to sign some content using the users Wif or private key for a DApp v2.
Wouldn’t mind implementing this.
An API along the lines
const signature = Neon.create.signMessage('PrivateKeyOrWiff', 'Hello World')
const verified = Neon.create.verifyMessage('NeoAddress', 'Hello World', signature)
or
const account = new wallet.Account(privateKey)
const signature = account.signMessage('Hello World')
const verified = Neon.get.verifyMessage('NeoAddress', 'Hello World', signature)
Thoughts or suggestions?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:7 (7 by maintainers)
Top Results From Across the Web
How to Sign a Custom Message and Verify the Signature On ...
Hey! In this video I show you how to sign a custom message and then verify the produced signature on chain.SOURCE CODE +...
Read more >Signing and verifying messages - YouTube
How to sign and verify messages in Coinomi.Examples from this video that you can verify yourself:BTC address: ...
Read more >Online Transcription Jobs | Apply Today! - GoTranscript
Please note: buying and selling a GoTranscript account is illegal ... We will send you an SMS with a code. You will need...
Read more >Set up text messaging as your verification method
If you're prompted to set this up immediately after you sign in to your work or school account, see the detailed steps in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Within the wallet module.
message.js
api usage:
What do you think? any remarks?
Thanks for your contribution!