pull down to refresh
0 sats \ 10 replies \ @k00b 12 Aug 2023 \ parent \ on: New features of magic webstore: store metadata, nostr auth, notifications & more bitcoin
He wants the same pairing phrase to be used by N devices simultaneously.
His use case is a website store owner allowing many customers to request invoices from the store owner's node using the same pairing phrase.
Okay got it. Makes more sense now. I just tested it myself and I generated an invoice that expires in 5 minutes on my Zeus connected via LNC. Closed the app, then opened again and generated a different invoice with an expiry of 4 minutes with no issue.
reply
Just tested with alby and terminal web. I generated multiple invoices in quick succession using the same LNC pairing phrase with expires of 1 day.
reply
I believe you'd recreate the issue by creating multiple concurrent LNC connections with the same pairing phrase. You created multiple serially.
reply
I can't imagine a scenario where I would want to do that. Why can't Bob/Carol just pay Alice by triggering an invoice through Alice's store? There is no scenario where Bob or Carol would need to connect to Alice's store.
reply
through Alice's store
If Alice's store doesn't have a server to generate an invoice, there's nothing to go "through."
The magic of magic webstore is that Alice isn't hosting the store. Magic webstore is a statically served html file that pulls store-specific data from nostr and which store you're viewing is specified in http GET params.
LNC connections need to happen client side or Alice would need to run yet-another-service.
reply
Seems like Alby would be the best way to go about it then. LNC requires a client/server relationship. Alby is a pretty nice go between for services and nodes(via LNC) though.
reply
Adding a form to connect to Alby (and, through Alby, maybe even to your own node) is a good idea. Nonetheless, I would still like to reduce the number of dependencies by supporting a connection string directly to your own node.
So Alice would sign up for Alby with their LNC pair phrase and Bob and Carol would request invoices through Alby?