Replies: 1 comment 1 reply
-
I have no idea, but if you're dealing with EC key, you may be interested in https://www.npmjs.com/package/@masknet/base, which exports ECKeyIdentifier (packages/base/src/Identifier/ec-key.ts) and has a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have been trying to convert metamask's public key to a format required by next.id proof service and am failing.
My code looks like this:
The public key came from:
When I send the payload I get response:
{"message":"public key not recognized"}
Can anyone point me in the right direction in mask's code base so I can see how you did it. Or paste some code here.
Have been grappling with next.id lack of typescript examples using metamask, so I thought maybe you mask guys have sorted this public key conversion problem already.
Thank you for your time and help.
Beta Was this translation helpful? Give feedback.
All reactions