I'm always happy to see another Nostr app that has one-click #Amber login.
Discussion
Wtf, how does this work from the browser?
Nostrudel.ninja works this way too. I'm just a pleb so I'm not sure how it works, but it makes using anything built on Nostr frictionless. This is a killer feature for me.
I need to know so I can add this to cashu.me - nostr:nprofile1qqszv6q4uryjzr06xfxxew34wwc5hmjfmfpqn229d72gfegsdn2q3fgpr3mhxue69uhhxct5v4kxc6t5v5hxs7njvscngwfwvdhk6tcpzfmhxue69uhkummnw3e82efwvdhk6tcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsk7wj75 halp ser!
I think you just need to implement login via nostr-login and you are set https://github.com/nostrband/nostr-login
Looks like this is using the nostrconnect:// URI
https://github.com/nostr-protocol/nips/blob/master/46.md#direct-connection-initiated-by-the-client
The client creates a new key and puts it in the URI with some metadata, then the user can open the link in amber and it will ask the user to create a bunker.
Then when the user gets redirected back to the app the connection should be ready
The code I'm using in noStrudel is from my library applesauce https://hzrd149.github.io/applesauce/signers/nostr-connect.html#initiating-connection-from-client
Although it looks like this app is using https://www.npmjs.com/package/window.nostr.js which is just as good and maybe better suited for an app like cashu.me
Deeplinking does not work on Graphene OS yet
This Pareto things looks curious. Articles load a bit annoyingly on mobile. You have scroll a bit horizontally to read the last word of each line. I'm sure thats fixable tho lol
nostr:nprofile1qqsq73uu0hlhhdfa4efl8wej45gsnmdmq7a9v27a295qgjelgdjw0dgpr4mhxue69uhhgetpd5khyetvv9ujuurpwfjhgmewwdcxzcm9qyt8wumn8ghj7un9d3shjtnwdaehgu3wvfskueqpz3mhxue69uhhyetvv9ujuerpd46hxtnfdurjq3kh I'm sure you've seen this, but tagging you just in case
