This is a Universal Resolver driver for Baidu did:ccp identifiers.
More info:
did:ccp:ceNobbK6Me9F5zwyE3MKY88QZLw
did:ccp:3CzQLF3qfFVQ1CjGVzVRZaFXrjAd
For downloading the dependencies of this project a Personal Access Token for GitHub must be configured in file settings.xml according to Creating a personal access token for the command line. Then, add the USER Name and TOKEN to the environment variable as follows,
GITHUB_READ_PACKAGES_OWNER=OWNER
GITHUB_READ_PACKAGES_TOKEN=TOKEN
docker build -f ./docker/Dockerfile . -t hello2mao/driver-did-ccp
docker run -p 8080:8080 hello2mao/driver-did-ccp
curl -X GET http://localhost:8080/1.0/identifiers/did:ccp:ceNobbK6Me9F5zwyE3MKY88QZLw
Maven build:
mvn --settings settings.xml clean install
The driver returns the following metadata in addition to a DID document:
version
: The DID version.proof
: Some proof info about the DID document.created
: The DID create time.updated
: The DID document last update time.
- Hongbin Mao @hello2mao
- Junjie Yuan @yjjnls