Skip to content

ibct-dev/lit-resolver

Repository files navigation

DIF Logo

Universal Resolver Driver: did:lit

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

Specifications

Example DIDs

did:lit:AEZ87t1bi5bRxmVh3ksMUi

Build and Run (Docker)

docker build -f ./docker/Dockerfile . -t ibct/driver-did-lit
docker run -d -p 8080:8080 --env LEDGIS_LIT_ENDPOINT=https://lit.ledgis.io --env LEDGIS_LIT_CODE=led.lit --name lit-resolver ibct/driver-did-lit
curl -X GET http://localhost:8080/1.0/identifiers/did:lit:AEZ87t1bi5bRxmVh3ksMUi

Build and Run (NodeJS)

yarn start

Driver Environment Variables

The driver recognizes the following environment variables:

LEDGIS_LIT_ENDPOINT

  • The endpoint of node for JSON-RPC
  • Default value(lit chain): https://lit.ledgis.io

LEDGIS_LIT_CODE

  • The code of lit did contract
  • Default value: led.lit

Driver Metadata

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

none

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •