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

Add fn verifyMessage #26

Closed
dawsbot opened this issue Feb 11, 2022 · 0 comments · Fixed by #119
Closed

Add fn verifyMessage #26

dawsbot opened this issue Feb 11, 2022 · 0 comments · Fixed by #119

Comments

@dawsbot
Copy link
Owner

dawsbot commented Feb 11, 2022

Code example: https://runkit.com/dawsonbotsford/etherssignmessage
This will involve reverse-engineering how ethers does it
Ethers documentation: https://docs.ethers.io/v5/api/utils/signing-key/#utils-verifyMessage

const { utils } = ethers

const claimedMessage = '';
const signedMessage = '';
utils.verifyMessage( claimedMessage, signedMessage )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants