ssi
ssi copied to clipboard
Resolve DIDDocument from cached events
Hi Team,
The did
resolution to DIDDocument
takes blockchain interaction to execute and sometimes may not be efficient for large number of resolution calls. If the resolver
could have configurations / options to accept cached did
events and fetch the events beyond the cached scope to create the DIDDoc it would be much more faster I guess.
So the resolver might look like, resolver(did, cachedEvent[], lastBlock)
. The lastBlock
param would be the block number till where the events have been cached.
Let me know your thoughts. Thanks!