iefan 🕊️ on Nostr: The idea is simple: it encrypts the content URL, packages it with a price, LN ...
The idea is simple: it encrypts the content URL, packages it with a price, LN address, and a digital signature, and turns it into a shareable QR code or URL.
When the QR code is scanned, it first verifies the integrity of the packaged data, deconstructs it, and uses an LN proxy to initiate the payment. Once the payment is settled, it decrypts the content.
This approach does not require any database, BTC Pay server, or LNbits. Instead, it uses lightweight server functions, and with the upcoming LNURL standards LUD-10 and LUD-21, even this lightweight backend will be eliminated.
Published at
2024-10-03 01:06:41Event JSON
{
"id": "42f5b12624632e5b3d6c698afb65708c7ad95f1f410499300ec67e4aedbe58d3",
"pubkey": "c6f7077f1699d50cf92a9652bfebffac05fc6842b9ee391089d959b8ad5d48fd",
"created_at": 1727917601,
"kind": 1,
"tags": [
[
"e",
"11337413120b49c88ebdf1ac0cc260c2b17d23848baba9523df2b98675300b7c",
"",
"root"
],
[
"e",
"d10f6795c089629f6880ab48c7fcb6572a178c7d4a6f7d819462b1288f142d3b"
],
[
"e",
"ec8c06ffc35522e4a1f95c0f15949d85a0ff8081f766a3cb81eff22c9807d721",
"",
"reply"
],
[
"p",
"c6f7077f1699d50cf92a9652bfebffac05fc6842b9ee391089d959b8ad5d48fd"
],
[
"p",
"8fb9450003a599bb1b34f03fadb9b137f6c0e5a850ba205964bee4732ccce549"
],
[
"p",
"1bf9f239dca1636149bc2f3fc334077ae959ea9607cacf945ef8f8bb227dc5e1"
]
],
"content": "The idea is simple: it encrypts the content URL, packages it with a price, LN address, and a digital signature, and turns it into a shareable QR code or URL.\n\nWhen the QR code is scanned, it first verifies the integrity of the packaged data, deconstructs it, and uses an LN proxy to initiate the payment. Once the payment is settled, it decrypts the content.\n\nThis approach does not require any database, BTC Pay server, or LNbits. Instead, it uses lightweight server functions, and with the upcoming LNURL standards LUD-10 and LUD-21, even this lightweight backend will be eliminated.\n\n",
"sig": "df1d33afe4d92f815ded24650af6d954882071fa425f2277588e1dff40b1f5e4717d4e766e1273cc22aaeb2ff1b676f7bc22f56138225f5cdcc0dbe090431cc4"
}