Home

Awesome

DIF Logo

Universal Resolver Driver: did:btcr

This is a Universal Resolver driver for did:btcr identifiers.

Specifications

Example DIDs

 did:btcr:xz35-jznz-q9yu-ply
 did:btcr:xkrn-xz7q-qsye-28p
 did:btcr:x705-jznz-q3nl-srs

Build and Run (Docker)

docker build -f ./docker/Dockerfile . -t universalresolver/driver-did-btcr
docker run -p 8080:8080 universalresolver/driver-did-btcr
curl -X GET http://localhost:8080/1.0/identifiers/did:btcr:xz35-jznz-q9yu-ply

Build (native Java)

mvn clean install

Driver Environment Variables

The driver recognizes the following environment variables:

uniresolver_driver_did_btcr_bitcoinConnection

uniresolver_driver_did_btcr_rpcUrlMainnet

uniresolver_driver_did_btcr_rpcUrlTestnet

uniresolver_driver_did_btcr_rpcCertMainnet

uniresolver_driver_did_btcr_rpcCertTestnet

Driver Metadata

The driver returns the following metadata in addition to a DID document: