Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.9 KB

README.md

File metadata and controls

37 lines (31 loc) · 1.9 KB

Universal Resolver Driver: did:kscirc

This is a Universal Resolver driver for did:kscirc identifiers by K4-Security.
This repository contains KSChian driver source code for DIF Unviversal Resolver. For the official KSChain DID Method specification, pleasae visit the relative section.

1. Specification

1.1 KSChain DID Method Specification

1.2 Reference

2. Example DIDs

did:kscirc:k12NqvVM9BX6AaMjPK1hUTUkKBWPBAUXAszTxdx7jDZPv4iqCZ1D    
did:kscirc:k17qQYbApdfTdxsrS77k3sbFmJCWfJf7QrvZSfMaAmq6MWpbeGs

3. Build and Run (Docker)

3.1 Pull kschain-resolver image from DockerHub

docker pull k4security/kschain-resolver
docker run -p 8080:8080 k4security/kschain-resolver

4. Example request

4.1 curl test

curl -X GET http://localhost:8080/1.0/identifiers/did:kscirc:k12NqvVM9BX6AaMjPK1hUTUkKBWPBAUXAszTxdx7jDZPv4iqCZ1D    
curl -X GET http://localhost:8080/1.0/identifiers/did:kscirc:k17qQYbApdfTdxsrS77k3sbFmJCWfJf7QrvZSfMaAmq6MWpbeGs

5. Test Web page : DIF Universal Resolver

See https://dev.uniresolver.io/ for a DIF-hosted instance of the Universal Resolver that can be used for testing purposes.