sam on Nostr: Here me out: relays are LN nodes. User pays some sats and the R value in the HTLC is ...
Here me out: relays are LN nodes. User pays some sats and the R value in the HTLC is the nostr event data (or a preimage). Now in order for the relay to get the payment, they must commit the preimage to the LN channel state, revealing it to the user. If the relay doesn’t have the preimage, they would be incentivized to get it from other relays for an LN payment.
Published at
2023-01-08 02:51:57Event JSON
{
"id": "9b95a79b484811d17912e1b2e278417a125325e6fd6953dfb75dd9b2c7229411",
"pubkey": "960980835e351192f587457c8b0d65bd4e79fe4df6addb766c92e492dbc5f8c4",
"created_at": 1673146317,
"kind": 1,
"tags": [
[
"e",
"f7a90a16dd7a9bd54f89994140d68c599d5ff4cf888576bd3d8a60c4f27b2398",
"wss://nostr-relay.wlvs.space"
],
[
"e",
"2a33bfff81cc7c7d21819d4505ca0365b03bb01b5bce6ac5435fb6929afd0b9d"
],
[
"p",
"4f0d96f7157cc70806ce90b6a2eeab6bb7926e42807ce85a3ef61a1350698e7d"
],
[
"p",
"4523be58d395b1b196a9b8c82b038b6895cb02b683d0c253a955068dba1facd0"
],
[
"p",
"4523be58d395b1b196a9b8c82b038b6895cb02b683d0c253a955068dba1facd0"
]
],
"content": "Here me out: relays are LN nodes. User pays some sats and the R value in the HTLC is the nostr event data (or a preimage). Now in order for the relay to get the payment, they must commit the preimage to the LN channel state, revealing it to the user. If the relay doesn’t have the preimage, they would be incentivized to get it from other relays for an LN payment.",
"sig": "0edb6be6c558214bf39d2db8171fb1fe4a6a7ec7ab0fa4426ad00035aeb3de6ee332672d055ad2281ff5c4625f9d52943c338b253ef010d6d4722c5efa057494"
}