Home

Awesome

Restricted Resolver

Docker Hub

Like the universal resolver, but with some restrictions.

Learn more about Transmute.

Docker

docker pull transmute/restricted-resolver
docker run -d -p 8080:8080 transmute/restricted-resolver
curl -sX GET http://localhost:8080/1.0/identifiers/did:jwk:eyJraWQiOiJ1cm46aWV0ZjpwYXJhbXM6b2F1dGg6andrLXRodW1icHJpbnQ6c2hhLTI1NjpGZk1iek9qTW1RNGVmVDZrdndUSUpqZWxUcWpsMHhqRUlXUTJxb2JzUk1NIiwia3R5IjoiT0tQIiwiY3J2IjoiRWQyNTUxOSIsImFsZyI6IkVkRFNBIiwieCI6IkFOUmpIX3p4Y0tCeHNqUlBVdHpSYnA3RlNWTEtKWFE5QVBYOU1QMWo3azQifQ
curl -sX GET http://localhost:8080/1.0/identifiers/did:web:did.actor:supply-chain:manufacturer:carlos
curl -sX GET http://localhost:8080/1.0/identifiers/did:key:z6MkevkjV3woJLJ1p6tSvx9PUTyn7e8cSm9Wy5VjkWUo4WLK
curl -sX GET http://localhost:8080/1.0/identifiers/did:key:zDnaefnQrwjZPFASgQoQoTfrcG65gxHK4qNappjxnv6aiATQt
curl -sX GET http://localhost:8080/1.0/identifiers/did:key:zQ3shk7C2uqYB7jgmCiCxA8DusuMKwc1wjJAHS17pmQvr48Q9
docker stop $(docker ps -q --filter ancestor=transmute/restricted-resolver )

Development

nvm use 18
npm i
npm run start

Visit:

http://localhost:8080/1.0/identifiers/did:key:z6MkevkjV3woJLJ1p6tSvx9PUTyn7e8cSm9Wy5VjkWUo4WLK
http://localhost:8080/1.0/identifiers/did:web:did.actor:supply-chain:manufacturer:carlos

Docker

docker build -f ./Dockerfile . -t restricted-resolver
docker run -d -p 8080:8080 restricted-resolver
docker stop $(docker ps -q --filter ancestor=restricted-resolver )