From 5b384797e8cf04c246a5a26051094a6c5ee49b7f Mon Sep 17 00:00:00 2001 From: Brian Richter Date: Fri, 1 Dec 2023 09:16:21 -0800 Subject: [PATCH 1/2] Add did:btco driver. --- .env | 5 ++++- docker-compose.yml | 8 +++++++- uni-resolver-web/src/main/resources/application.yml | 4 ++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.env b/.env index 30c77b5ef..612a8d7d9 100644 --- a/.env +++ b/.env @@ -49,4 +49,7 @@ 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 \ No newline at end of file +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 \ No newline at end of file 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 9672844c3..de2f1dfab 100644 --- a/uni-resolver-web/src/main/resources/application.yml +++ b/uni-resolver-web/src/main/resources/application.yml @@ -19,6 +19,10 @@ 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 - pattern: "^(did:sov:(?:(?:\\w[-\\w]*(?::\\w[-\\w]*)*):)?(?:[1-9A-HJ-NP-Za-km-z]{21,22}))$" url: http://driver-did-sov:8080/ propertiesEndpoint: 'true' From c51c781bf57cd1002b4c6152ee114607e025eebe Mon Sep 17 00:00:00 2001 From: Brian Richter Date: Sat, 23 Dec 2023 00:45:25 -0500 Subject: [PATCH 2/2] Add did:btco mainnet test identifier. --- uni-resolver-web/src/main/resources/application.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/uni-resolver-web/src/main/resources/application.yml b/uni-resolver-web/src/main/resources/application.yml index de2f1dfab..bb4eda7e7 100644 --- a/uni-resolver-web/src/main/resources/application.yml +++ b/uni-resolver-web/src/main/resources/application.yml @@ -23,6 +23,7 @@ uniresolver: 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'