Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add did:btco driver. #388

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 7 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -287,4 +287,10 @@ services:
image: kataru/content-did-driver:latest
ports:
- "8148:8888"

driver-did-btco:
image: brianrichter/did-btco:latest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only tag available is latest. Ideally, please tag and push an image to a Docker registry with a semantic version number.

environment:
ORD_SIGNET_API: ${uniresolver_driver_did_btco_ord_signet_api}
ORD_API: ${uniresolver_driver_did_btco_ord_api}
ports:
- "8149:8080"
5 changes: 5 additions & 0 deletions uni-resolver-web/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down