#asknostr Is there a lightning app that will create a QR code invoice that can be printed and given to people to scan? Would be used to get people into lightning, one off invoices you could hand out on cards. Any ideas? Will a lightning invoice even stay valid for a long time?
You can set an expiration time for an invoice (this is with Zeus but I’m sure some other wallets have the same functionality). I’m not sure what the maximum is but it has an option for weeks. You could then screenshot the QR code to print. I’m sure there is probably a better way of doing it though. https://i.nostr.build/SINRzzRdsVobMNWi.jpg
No, you want to give them a Lightning address if you want to receive. If you want to gift sats you want to give them a LNURL-withdraw
OK, yes. So could you create a QR code for that?
i don't think so, invoices are generally quite large... on alby or alby hub it can generate them and they could be printed out but they expire in like an hour but a qr code that just has a LN address like mine mleku@getalby.com would be durable for later, needs to have some protocol spec in front, idk what it is... maybel lnurl://mleku@getalby.com
Most apps register to handle `lightning:` or (better) BIP-21 `bitcoin:` links. That being said, wouldn't it more sense to GIVE people sats when you want to onboard them instead of having them pay an invoice? 👀 https://lightsats.com
No, it's an invoice I would create that would pay them a certain amount once scanned, I'm giving them sats. That's the idea anyway. Scan this QR code with your wallet for 1000 sats or whatever.
Lightsats is great if you are giving sats. I’ve used it before to gift sats and it worked without issues. I believe it generates a QR code that you could print but also gives a URL that can be sent by email etc to claim the sats. From memory it has an expiration of a couple of weeks (this may have been configurable) and you get the sats back if not claimed within that time.
That's perfect, thanks
You can't withdraw money from an invoice, an invoice can only be paid. For that purpose you need LNURL-withdraw. (check out lightsats, LNBits, etc)
Thanks for the input guys. I've worded my question wrong, that's my bad. I'd like to give people sats to onboard, by giving a card with a withdrawal QR code, they scan with a wallet get, sats etc. Probably not possible easily it seems.
https://tipcards.io is great for tipping/gifting sats via paper
Cool, thanks