lemon on Nostr: Couldn’t I just take the lightning address from the creator’s npub (Kind 0 ...
Couldn’t I just take the lightning address from the creator’s npub (Kind 0 metadata) and send sats using Alby API if the translated event has received a zap?
I would need to change my bot’s lightning wallet to Alby at that point
But I don’t know how to pay a lightning address yet
Don’t I ping a webhook and get a bolt11 address or something?
Published at
2024-09-17 01:41:37Event JSON
{
"id": "dee4bd7c94d4e099cb58fe7cbf3062100cf1c7ea4afb7803de3b73504c47f6e3",
"pubkey": "be7358c4fe50148cccafc02ea205d80145e253889aa3958daafa8637047c840e",
"created_at": 1726537297,
"kind": 1,
"tags": [
[
"e",
"7505d9d99f78cb230971142d6b6940b5c71270d0afeff06bfc5df4a324bb2312",
"",
"root"
],
[
"e",
"8117c43f054b8436bb91803bd72b966fa32068270c607d07cb7d1eb3d32c92d1",
"wss://search.nos.today",
"reply"
],
[
"p",
"604e96e099936a104883958b040b47672e0f048c98ac793f37ffe4c720279eb2"
]
],
"content": "Couldn’t I just take the lightning address from the creator’s npub (Kind 0 metadata) and send sats using Alby API if the translated event has received a zap?\n\nI would need to change my bot’s lightning wallet to Alby at that point \n\nBut I don’t know how to pay a lightning address yet\n\nDon’t I ping a webhook and get a bolt11 address or something?",
"sig": "21553dac16d5bd5fff80ca0a7ebf10e858c0fddb4d55e57d2ef4152c5cc01c9941d6f817862ab8e575c1777d33beb4fbe48f92ffaa929f225b9d00d586319bd8"
}