This is a Universal Resolver driver for Sidetree-Cardano did:ada identifiers.
Since this driver is not yet published into Decentralized Identity Foundation repository, you can use our forked Universal Resolver that deploys all official driver plus this one.
did:ada:EiDfLfmqWKLEgbALdWg2jj3m8LFbfFSwPdee6JvFE5VfTQ
docker build -f ./docker/Dockerfile . -t rodopincha/uni-resolver-driver-did-ada
docker run -p 8080:8080 rodopincha/uni-resolver-driver-did-ada
curl -X GET http://localhost:8080/1.0/identifiers/did:ada:EiDfLfmqWKLEgbALdWg2jj3m8LFbfFSwPdee6JvFE5VfTQ
docker pull rodopincha/uni-resolver-driver-did-ada
docker run -p 8080:8080 rodopincha/uni-resolver-driver-did-ada
curl -X GET http://localhost:8080/1.0/identifiers/did:ada:EiDfLfmqWKLEgbALdWg2jj3m8LFbfFSwPdee6JvFE5VfTQ
npm start
The driver recognizes the following environment variable:
uniresolver_driver_did_ada_node_url
- Default value:
'https://testnet.sidetree-cardano.com'
The driver returns the following metadata in addition to a DID document:
"didDocumentMetadata":{
"method":{
"published":true,
"recoveryCommitment":"EiCqoMGfQKKmaxONsAoBuxUuPpMXrqnQ4Jv0dmwaMl1WWQ",
"updateCommitment":"EiAWGSlddbHJReo2sOD-0-RM1ChgEtEAc1HOFqNtdyHo6g"
},
"canonicalId":"did:ada:EiDfLfmqWKLEgbALdWg2jj3m8LFbfFSwPdee6JvFE5VfTQ"
}