Awesome
Universal Resolver Driver: did:itn
This is a Universal Resolver driver for did:itn identifiers. This driver uses ITN DID Resolver library to resolve DID.
Specifications
Example DIDs
did:itn:PA7xLNkMAqzzrDp4UBnrZm
did:itn:EzfteTXcoHXh5W1PURHrS3
Build and Run (Docker)
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
Build and Run (Node.js)
npm install
export DID_RESOLVER_URL='https://resolver.itn.mobi' && npm start
Driver Environment Variables
The driver recognizes the following environment variables:
uniresolver_driver_did_itn_resolverUrl
- A DID Resolver url.
- Default value: (empty string)
Driver Metadata
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