This is a Universal Resolver driver for did:itn identifiers. This driver uses ITN DID Resolver library to resolve DID.
did:itn:PA7xLNkMAqzzrDp4UBnrZm
did:itn:EzfteTXcoHXh5W1PURHrS3
docker build . -t universalresolver/driver-did-itn
docker run -p 8080:8080 -e DID_RESOLVER_URL='https://resolver.itn.mobi' universalresolver/driver-did-itn
curl -X GET http://localhost:8080/1.0/identifiers/did:itn:PA7xLNkMAqzzrDp4UBnrZm
npm install
export DID_RESOLVER_URL='https://resolver.itn.mobi' && npm start
The driver recognizes the following environment variables:
- A DID Resolver url.
- Default value: (empty string)
The driver returns the following metadata in addition to a DID document:
recoveryCommitment
: thesha256
hash of the public key which controls the DID (recovery key)hlfProof
: proof that DID is anchored in HLF network, includingdataHash
,blockNumber
andtransactionId
evmProof
: proof that DID is anchored in EVM network, includingblockHash
,blockNumber
andtxHash