Can someone explain how lightning withdrawals work? https://github.com/lnbits/withdraw
I don't understand how someone couldn't create one of these and then shut down their node to avoid payout.
#asknostr
Login to reply
Replies (6)
I wish I knew... I'm currently stuck on the payment page not working for my LNbits instance... so I've not enabled it on my store yet.
Yo nostr:npub13cnlldwfhwxd6qf34hnwlfya2m2qrd2zfk0alxnrup6d2fasw9wqxwkzpe didn’t you do something with this before? I vaguely remember you doing something cool with QR codes and meetups. Let me know if I’m mistaken. 😄
if your are running the service and giving this, yes nothing stops you from shutting down.
Just like you can give an ecash token to someone and then just spend it before the other person redeems it.
nostr:nevent1qqs2g647w2z3qwdmfkd7p4haqrugagrsh3tqslygz5dgvv6gqjs9neqpz4mhxue69uhkummnw3ezummcw3ezuer9wchsygy2aa6u5fa0qzn0wrq5sedw22rqenwrdr6xfxw8ea4jx54snfcf75psgqqqqqqsdt5wha
Yeah that was me! I made scratch off tickets at the nostr:nprofile1qqs0m7vn2q3zrccumrqkxaepzmdpkx20dgu6m4vyx5crd9v5w8htdtcpzdmhxue69uhhqatjwpkx2urpvuhx2ue04zvmyp halving party. It was only semi successful. I was using an lnbits beta instance and people had a hard time redeeming. But they were giveaways anyways so 🤷 . Cashu seems a better choice for this sorta thing. I didnt know enough abt it (or it wasnt quite ready yet?) back then.
To nostr:nprofile1qqsdwr2spy2sfwvj6xpcsg40y3w476e6z6uzmyt6edujfnhkrm22emspg4mhxue69uhkkdnywp3kjmm80q6xvctzde5hq6m4xemkccm9x3ex5a3nvenx56rkxenkxatwv33hsancdcm8qmm9wyexscmwxd5kgtn0de5k7m30qythwumn8ghj7un9d3shjtnwdaehgu3wvfskuep0qyf8wumn8ghj7mn0wd68yv339e3k7mf0twl407's point I dont think there is anything preventing that if the use-case is vouchers (this is why cashu exists). The QR codes authorize withdraws from a wallet but if that wallet doesnt exist or is unfunded, then the QR holder is effectively rugged.
That’s what I figured. Thanks man. 🤙