Well, you'll have to make yourself known to claim the ecash that's bound to your npub. Use a browser extension to log in. There are many, but this one is simple and works well:
Discussion
There is a prettier version of this. It’s called nostr connect.
Same, just nicer UI.
Um so, I need a *third* nostr client?
If only nostr messages were authenticated somehow so I could send instructions to the site. Or y'know, send a one-time password to log in like humans do.
nostr:npub1mhcr4j594hsrnen594d7700n2t03n8gdx83zhxzculk6sh9nhwlq7uc226 who is the dev didn't want to be able to know anyone's nsec. You need a nostr signing extension like Alby or nos2x or nsec.app to log in and access the crash waiting for you which you can then either withdraw as ecash or directly to your lightning wallet.
nostr:npub1mhcr4j594hsrnen594d7700n2t03n8gdx83zhxzculk6sh9nhwlq7uc226, nostr:npub179e9tp4yqtqx4myp35283fz64gxuzmr6n3yxnktux5pnd5t03eps0elz4s has a brilliant idea here btw: DMing the service could also be used to initiate a withdrawal.
Wow! That really is brilliant nostr:npub179e9tp4yqtqx4myp35283fz64gxuzmr6n3yxnktux5pnd5t03eps0elz4s!
This will definitely get integrated 🙌🏻
DM is the CLI of nostr, almost nobody has developed it yet tho, even though potential
mainly because of authentication
https://github.com/Hubmakerlabs/replicatr/blob/main/app/chat.go
this is some code i wrote that provides a bypass to allow auth as with NIP-42 but manually in DM
LightningTipBot PTSD
you could the user just drop an invoice for example, that sounds like a very simple initial integration to me
Yes. Though there are things to consider. What’s about change, what’s about P2PK locked balance?
An API via DM is a low hanging fruit, especially to just get the token out. But full “wallet” support is probably infeasible (at least once P2PK is enabled for all users)
Agreed, it gets a lot more complicated with p2pk......
The user is able to choose whether to use p2pk or not? If not, this should work, if yes, I don't see how to do it other than to receive the token itself to your cashu wallet (which still doesn't have widespread support so far).
Oh I like that… an OTP that’s sent by the service via DM and that then can be used to create an authed session.
It’s less secure than the current system, but I guess that can be mitigated by requiring 2FA or something.