This is a Universal Resolver driver for did:btco identifiers.
- A publicly accessible Ord (version > 0.12.2) explorer for the networks of interest
- Mainnet
- Signet
- Regtest
- Testnet
did:btco:sig:6915376990035
docker build -f ./Dockerfile . -t brianrichter/did-btco
docker run -p 8080:8080 brianrichter/did-btco
curl -X GET http://localhost:8080/1.0/identifiers/did:btco:sig:6915376990035
npm start
The driver recognizes the following environment variables:
- The Base URL of a Mainnet Ord explorer.
- Default value: (empty string)
- The Base URL of a Signet Ord explorer.
- Default value: (empty string)
- The Base URL of a Regtest Ord explorer.
- Default value: (empty string)
- The Base URL of a Testnet Ord explorer.
- Default value: (empty string)
- The port the application will listen on.
- Default valuie: (8080)
The driver returns the following metadata in addition to a DID document:
error?
: Error message if there is anydid
: The DID that was resolvedinscriptionId
: The inscription the DID Document was written to
writes
: The number of times the DID has been written to