Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #24 from TBD54566975/example
Browse files Browse the repository at this point in the history
register example DAP
  • Loading branch information
aparkersquare authored Sep 10, 2024
2 parents ece19ee + f7ca6a2 commit 276ba32
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
.hermit
.hermit
.idea/
*.iml
*.swp
.DS_Store
10 changes: 10 additions & 0 deletions registry/daps/example
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"did": "did:web:didpay.me:example",
"proof": {
"id": "reg_01j7dmt5rse07brjy8gph9a6t6",
"handle": "example",
"did": "did:web:didpay.me:example",
"domain": "didpay.me",
"signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6ZGlkcGF5Lm1lOmV4YW1wbGUjMCJ9..1zV8APUtxAX65Jda174TJ4_fU996cT_TVuATlPkw16MsUq_32EXk_Ofi0coQ87_8tbrde6aiAyoDemcD_xq1Dw"
}
}
38 changes: 38 additions & 0 deletions registry/example/did.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"id": "did:web:didpay.me:example",
"verificationMethod": [
{
"id": "did:web:didpay.me:example#0",
"type": "JsonWebKey",
"controller": "did:web:didpay.me:example",
"publicKeyJwk": {
"kty": "OKP",
"crv": "Ed25519",
"x": "R3n5bsRms4c5NEIHQtT6HuYBux8z7VTi7enhPuBRyo0"
}
}
],
"service": [
{
"id": "btc-lightning-address",
"type": "MoneyAddress",
"serviceEndpoint": [
"urn:btc:lnaddr:[email protected]"
]
},
{
"id": "btc-bolt12",
"type": "MoneyAddress",
"serviceEndpoint": [
"urn:btc:lno:lno1zrxq8pjw7qjlm68mtp7e3yvxee4y5xrgjhhyf2fxhlphpckrvevh50u0qfq6umvtqucas8054gtms4kwlx204hjh3dlfjv4qusv4u6ft35896qsrjr26m4aqma27vsvg3z5rcqfpxezttla82k4ydrca02e0huc7qkhsqvu7x90y89m423eaph3j5jcksgqmv5894cmxcxrqpryxspx7fhme3l7nf0zlsh56ec3dc3qgng8wf58zngzrqd8f09zvjx7srcafrhhd55wkx3p04zwf29yee46afgyp8mxvedscqqqsxurgnea7wdc0a6dcktn0wswfdc"
]
},
{
"id": "btc-onchain",
"type": "MoneyAddress",
"serviceEndpoint": [
"urn:btc:addr:bc1qzgkrx389a8l3jn2d6qne489jnk6syuhu68w37x"
]
}
]
}

0 comments on commit 276ba32

Please sign in to comment.