Skip to content

How does Veramo store dids on ethereum blockchain and how can we fetch it? #873

Answered by mirceanis
Ahaana-Jha asked this question in Q&A
Discussion options

You must be logged in to vote

That's a great question and you are almost there with ethr-did-registry, that is indeed the contract that holds the data related to did:ethr identifiers.
The reason you don't see anything related to new DIDs on the block explorer is that for did:ethr creation happens without a transaction. To create a DID you generate an ethereum keypair and prepend did:ethr: to the hex string encoding of the public key, or to the corresponding ethereum address.

Transactions are needed only when you want to update the DID document, to change the owner or add new keys and services.

The relevant docs for how this happens can be found in the did:ethr spec.
The same repository contains the code for the refere…

Replies: 6 comments 16 replies

Comment options

You must be logged in to vote
4 replies
@Ahaana-Jha
Comment options

@Ahaana-Jha
Comment options

@mirceanis
Comment options

@Ahaana-Jha
Comment options

Answer selected by Ahaana-Jha
Comment options

You must be logged in to vote
1 reply
@mirceanis
Comment options

Comment options

You must be logged in to vote
1 reply
@mirceanis
Comment options

Comment options

You must be logged in to vote
1 reply
@mirceanis
Comment options

Comment options

You must be logged in to vote
3 replies
@mirceanis
Comment options

@Ahaana-Jha
Comment options

@mirceanis
Comment options

Comment options

You must be logged in to vote
6 replies
@Ahaana-Jha
Comment options

@Ahaana-Jha
Comment options

@mirceanis
Comment options

@Ahaana-Jha
Comment options

@mirceanis
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants