Replying to Avatar fmar

Wen NWC?

nostr:nprofile1qqsrq7p2sv3m0jvtzuk952hhyp4ms2puv4d7dhwwzyfnvydq8403zacdqda04 Zapstore could expose an Android intent to apps to pay with the loaded NWC string! It would be even better if an NWC token could fork child tokens specific to apps, all within the same budget but I'm probably dreaming too hard here 😅

Reply to this note

Please Login to reply.

Discussion

Unless I'm missing an easier way of obtaining a new string, maybe thru Alby Go? 🤔

You can enable Alby Go to create new connections - you can read about it and see some demos here: https://blog.getalby.com/new-nwc-one-click-wallet-connections-simplify-app-ux/

It’s possible to launch Alby Go to create the connection and then return to Zap Store with a single tap. Let me know if you’re interested and have any questions!

There is this PR to the spec -> https://github.com/nostr-protocol/nips/pull/1818

which is implemented in NDK, sample use -> https://github.com/relaystr/ndk/blob/master/packages/sample-app/lib/nwc_page.dart

It's already used in Yana and https://zap.stream/app

Don't know what shosho uses since it doesn't seem to be opensource...

Very cool. Will look into it!