diff --git a/.env b/.env index 43b72c604..554ced01f 100644 --- a/.env +++ b/.env @@ -56,3 +56,6 @@ uniresolver_driver_did_com_network=https://lcd-mainnet.commercio.network uniresolver_driver_did_ev_node_url=https://polygon-mumbai.g.alchemy.com/v2/jLMUummm16stzMQjW1OB79IwuDjsJqS7 uniresolver_driver_did_ev_address_im=0x4E4f55190185f2694D331E5c9Fd70a2B75Eb4Bd2 uniresolver_driver_did_ev_base_blocks=2700000 + +uniresolver_driver_did_btco_ord_api=https://ordinals.com +uniresolver_driver_did_btco_ord_signet_api=https://signet.ordinals.com diff --git a/docker-compose.yml b/docker-compose.yml index 8844d431e..ec060afad 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -287,4 +287,10 @@ services: image: kataru/content-did-driver:latest ports: - "8148:8888" - + driver-did-btco: + image: brianrichter/did-btco:latest + environment: + ORD_SIGNET_API: ${uniresolver_driver_did_btco_ord_signet_api} + ORD_API: ${uniresolver_driver_did_btco_ord_api} + ports: + - "8149:8080" diff --git a/uni-resolver-web/src/main/resources/application.yml b/uni-resolver-web/src/main/resources/application.yml index 03784527b..2d3161d57 100644 --- a/uni-resolver-web/src/main/resources/application.yml +++ b/uni-resolver-web/src/main/resources/application.yml @@ -19,6 +19,11 @@ uniresolver: - did:btcr:xz35-jznz-q9yu-ply - did:btcr:xkrn-xz7q-qsye-28p - did:btcr:x705-jznz-q3nl-srs + - pattern: "^(did:btco:.+)$" + url: http://driver-did-btco:8080/ + testIdentifiers: + - did:btco:sig:6915376990035 + - did:btco:53585.3880210795 - pattern: "^(did:sov:(?:(?:\\w[-\\w]*(?::\\w[-\\w]*)*):)?(?:[1-9A-HJ-NP-Za-km-z]{21,22}))$" url: http://driver-did-sov:8080/ propertiesEndpoint: 'true'