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

NIP-69 Nostr Offer STRings #1460

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
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
18 changes: 16 additions & 2 deletions 69.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,26 @@ noffer1...
To support trust-optimized Lightning Addresses, services can add a `nip69` field in the NIP-05 content to contain an offer for spontaneous payments. This field will provide the offer on name-based lookups.
shocknet-justin marked this conversation as resolved.
Show resolved Hide resolved

Example NIP-05 content with `nip69` field:
```json
{
"pubkey": "hex_pub",
"kind": 0,
"content": "{\"name\": \"bob\", \"nip05\": \"[email protected]\", \"nip69\": \"noffer1...\"}"
...
}
```

Example NIP-05 Service Response with Offers


shocknet-justin marked this conversation as resolved.
Show resolved Hide resolved
```json
{
"names": {
"example": "npub1examplepublickey"
"bob": "hex_pub"
},
"nip69": "noffer1..."
"nip69": {
"hex_pub": "noffer1..."
shocknet-justin marked this conversation as resolved.
Show resolved Hide resolved
}
}
```

Expand Down