diff --git a/.env b/.env index 865265093..2fdfabe2b 100644 --- a/.env +++ b/.env @@ -21,3 +21,5 @@ uniresolver_driver_dns_dnsServers= uniresolver_driver_did_echo_mainnet_rpc_url=http://127.0.0.1:8090/rpc uniresolver_driver_did_echo_testnet_rpc_url=http://testnet.echo-dev.io uniresolver_driver_did_echo_devnet_rpc_url=http://127.0.0.1:8090/rpc + +uniresolver_driver_did_example_exampleSetting=exampleSetting diff --git a/README.md b/README.md index f12fb7488..4e6a46abf 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ You should then be able to resolve identifiers locally using simple `curl` reque curl -X GET http://localhost:8080/1.0/identifiers/did:kilt:5GFs8gCumJcZDDWof5ETFqDFEsNwCsVJUj2bX7y4xBLxN5qT curl -X GET http://localhost:8080/1.0/identifiers/did:evan:testcore:0x126E901F6F408f5E260d95c62E7c73D9B60fd734 curl -X GET http://localhost:8080/1.0/identifiers/did:echo:1.1.25.0 + curl -X GET http://localhost:8080/1.0/identifiers/did:example:0000000000123456 If this doesn't work, see [Troubleshooting](/docs/troubleshooting.md). @@ -72,6 +73,7 @@ Are you developing a DID method and Universal Resolver driver? Click [Driver Dev | [did-kilt](https://github.com/KILTprotocol/kilt-did-driver) | 1.0.1 | [1.0 WD](https://w3c.github.io/did-core/) | [1.0](https://github.com/KILTprotocol/kilt-did-driver/blob/master/DID%20Method%20Specification.md) | [kiltprotocol/kilt-did-driver](https://hub.docker.com/r/kiltprotocol/kilt-did-driver)| | [did-evan](https://github.com/evannetwork/did-driver) | 0.1 | [1.0 WD](https://w3c.github.io/did-core/) | [0.9](https://github.com/evannetwork/evan.network-DID-method-specification/blob/master/evan_did_method_spec.md) | [evannetwork/evan-did-driver](https://hub.docker.com/r/evannetwork/evan-did-driver) | | [did-echo](https://github.com/echoprotocol/uni-resolver-driver-did-echo) | 0.0.1 | [1.0 WD](https://w3c.github.io/did-core/) | [1.0](https://github.com/echoprotocol/uni-resolver-driver-did-echo/blob/master/echo_did_specifications.md) | [echoprotocol/uni-resolver-driver-did-echo](https://hub.docker.com/r/echoprotocol/uni-resolver-driver-did-echo) | +| [did-example](https://github.com/peacekeeper/uni-resolver-driver-did-example) | 0.0.1 | [1.0 WD](https://w3c.github.io/did-core/) | [1.0](https://github.com/peacekeeper/uni-resolver-driver-did-example/blob/master/did_method_specification.md) | [exampleorg/uni-resolver-driver-did-example](https://hub.docker.com/r/exampleorg/uni-resolver-driver-did-example) | ## More Information diff --git a/config.json b/config.json index cdaa2cea1..663222a74 100644 --- a/config.json +++ b/config.json @@ -117,6 +117,11 @@ "image": "echoprotocol/uni-resolver-driver-did-echo", "tag": "latest", "testIdentifiers": [ "did:echo:1.1.25.0" ] + }, { + "pattern": "^(did:example:.+)$", + "image": "exampleorg/uni-resolver-driver-did-example", + "tag": "latest", + "testIdentifiers": [ "did:example:0000000000123456", "did:example:0000000000456789" ] } ] } diff --git a/docker-compose.yml b/docker-compose.yml index 7065c72e2..29db82860 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -87,6 +87,12 @@ services: uniresolver_driver_did_echo_devnet_rpc_url: ${uniresolver_driver_did_echo_devnet_rpc_url} ports: - "8096:8080" + uni-resolver-driver-did-example: + image: exampleorg/uni-resolver-driver-did-example:latest + environment: + uniresolver_driver_did_example_exampleSetting: ${uniresolver_driver_did_example_exampleSetting} + ports: + - "8097:8080" uni-resolver-web: image: universalresolver/uni-resolver-web:latest ports: