You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unknown DID method - for both did:pkh:tz and did:pkh:eth
But it works on python and node js...
Example for eth
final didMethod = 'pkh:eth';
final jwkKey = '{"kty":"EC","crv":"secp256k1","d":"CGWgc8CRZKRyC3vMccWRxYJW6pSuMnGkhrr_j8gr9zA","x":"jWVMruQ1C5gVp2TavMVYX6bDXqJf_jg1vUYmxSn7QME","y":"CtStNb9G3uvZhZaVvTQhoe5xnzZGr-FbRdZNh-Ojdxs","alg":"ES256K-R"}';
final issuer = didKitProvider.keyToDID(didMethod, jwkKey);
Error: e: DIDKitException (-1): Unknown DID method, stackTrace: #0
The text was updated successfully, but these errors were encountered:
Unknown DID method - for both did:pkh:tz and did:pkh:eth
But it works on python and node js...
Example for eth
Error:
e: DIDKitException (-1): Unknown DID method, stackTrace: #0
The text was updated successfully, but these errors were encountered: