What is Nostr?
jb55 / Will
npub1xts…kk5s
2023-01-09 03:45:23

jb55 on Nostr: Example lightning tip listing endpoint: ...

Example lightning tip listing endpoint:

https://sendsats.lol/tips/jb55?id=75989725e7e15f53bcb5e1e5365e96846f73581cdebd2f22b581be9689d1c62e

Where the ID is the nostr note id or nostr pubkey

tips created via

curl -s “https://sendsats.lol/@jb55?nostrNote=$(nostril --kind 9735 --sec $TIPPER_KEY --content thanks -e 75989725e7e15f53bcb5e1e5365e96846f73581cdebd2f22b581be9689d1c62e | jq -rc '@uri')&amount=10000"

(nostr clients will be able to do this)

This encodes a nostr note that references the note you’re tipping directly into the bolt11/lnurl metadata. You can then pay this invoice in any wallet. The tip note is returned by the endpoint when the invoice is paid.

This will allow clients to show “bob has tipped this post” with an optional comment.

Working on the damus UI for this now.
Author Public Key
npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s