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

Commit

Permalink
register nonni (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
bnonni authored Jun 28, 2024
1 parent 1ff33c9 commit 679a0f1
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions register/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ func main() {
return
}

input = strings.TrimSuffix(input, "\n")
maddrs := strings.Split(input, ",")
maddrServices := make([]didweb.CreateOption, len(maddrs))

Expand Down
10 changes: 10 additions & 0 deletions registry/daps/nonni
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"did": "did:web:didpay.me:nonni",
"proof": {
"id": "reg_01j1e3fh42f2j8b4y154en8h1d",
"handle": "nonni",
"did": "did:web:didpay.me:nonni",
"domain": "didpay.me",
"signature": "eyJhbGciOiJFZERTQSIsImtpZCI6ImRpZDp3ZWI6ZGlkcGF5Lm1lOm5vbm5pIzAifQ..YLvAVw4TVkeIjSwq0l-UsR7MYFSB2t1VdyHQwKwOvqDde9FMS4oZhp2iRO9n16grenU2N4zMmfMF_MSTaDqjDw"
}
}
31 changes: 31 additions & 0 deletions registry/nonni/did.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"id": "did:web:didpay.me:nonni",
"verificationMethod": [
{
"id": "did:web:didpay.me:nonni#0",
"type": "JsonWebKey",
"controller": "did:web:didpay.me:nonni",
"publicKeyJwk": {
"kty": "OKP",
"crv": "Ed25519",
"x": "CdQSOxXMPpXBCBaov41bYAp6jcoceGRqDIknl7SQQP0"
}
}
],
"service": [
{
"id": "#0",
"type": "MoneyAddress",
"serviceEndpoint": [
"urn:btc:addr:bc1qwca40hqmmcl4pntrwfd2v73lggxawdsazs06uk4520lx9exp7f9qsyulp8"
]
},
{
"id": "#1",
"type": "MoneyAddress",
"serviceEndpoint": [
"urn:btc:lnaddr:[email protected]"
]
}
]
}

0 comments on commit 679a0f1

Please sign in to comment.