Is there a way to associate a DID with an ethereum address, or even better, to use an ethereum address as a DID in some manner? Can anyone please guide me on how would I do it from a js script if possible?
Yes this is what did:pkh
is used for.
We have a library called did-session that leverages did:pkh
. See the guide here:
Thanks @jthor! I’ll take a look at that.
@jthor can you provide some examples on how to obtain the Ethereum provider in this case?
You can use https://web3modal.com/ for example.
how can i get user’s wallet address from it’s profileID?
What do you mean by “ProfileID”?