Skip to content

rodolfomiranda/uni-resolver-driver-did-prism

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DIF Logo

Universal Resolver Driver: did:prism

This is a Universal Resolver driver for did:prism 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.

Specifications

Example DIDs

 did:prism:db47e78dd57d2043a7a704fbd9d186a586682110a2097ac06dbc83b35602f290

Test on RootsID Cloud Service

curl -X GET https://uni-resolver.rootsid.cloud/1.0/identifiers/did:prism:db47e78dd57d2043a7a704fbd9d186a586682110a2097ac06dbc83b35602f290

Build and Run (Docker)

docker build \
-f ./docker/Dockerfile . \
--platform=linux/amd64 \
-t rodopincha/uni-resolver-driver-did-prism \
--build-arg PRISM_SDK_USER=${PRISM_SDK_USER} \
--build-arg PRISM_SDK_PASSWORD=${PRISM_SDK_PASSWORD} \
--build-arg GITHUB_USER=${GITHUB_USER} \
--build-arg GITHUB_TOKEN=${GITHUB_TOKEN} 
docker run -p 8080:8080 rodopincha/uni-resolver-driver-did-prism
curl -X GET http://localhost:8080/1.0/identifiers/did:prism:db47e78dd57d2043a7a704fbd9d186a586682110a2097ac06dbc83b35602f290

Pull from DockerHub

docker pull rodopincha/uni-resolver-driver-did-prism
docker run -p 8080:8080 rodopincha/uni-resolver-driver-did-prism
curl -X GET http://localhost:8080/1.0/identifiers/did:prism:db47e78dd57d2043a7a704fbd9d186a586682110a2097ac06dbc83b35602f290

Build (native Java)

mvn clean install --settings settings.xml

Driver Environment Variables

The driver needs the following environment variables:

  • PRISM_NODE_HOST= PRISM node such as ppp-node-test.atalaprism.io
  • PRISM_NODE_PORT=PRISM port such as 50053
  • PRISM_SDK_USER= User to access Prism SDK (request to IOG)
  • PRISM_SDK_PASSWORD= Password to access Prism SDK (request to IOG)
  • GITHUB_USER= your github user
  • GITHUB_TOKEN= github personal access token (PAT) with read:packages option enabled.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published