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

Sign message and verify signature #31

Closed
poka-IT opened this issue Aug 18, 2022 · 2 comments
Closed

Sign message and verify signature #31

poka-IT opened this issue Aug 18, 2022 · 2 comments

Comments

@poka-IT
Copy link
Contributor

poka-IT commented Aug 18, 2022

I see you just work on signatures with eth: db05dbe

But is it already possible to sign message and verify signature from standard KeyPairData object ?

I found sdk.api.keyring.signatureVerify(message, signature, address) apparently to verify a signature, and also sdk.api.keyring.signAsExtension(password, param) for I don't know, but no just sdk.api.keyring.signMessage(message, address) ?

I don't find anywhere in this sdk a way to just do it! Am I looking wrong ?

@poka-IT
Copy link
Contributor Author

poka-IT commented Aug 19, 2022

Oh ok, it works, thanks for this example, the mehtode name is not very intuitive.

@poka-IT poka-IT closed this as completed Aug 19, 2022
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

No branches or pull requests

2 participants