I would still want this separate from nostr. Also not sure about linking nsecs to lightning walletsβ¦ since most people donβt handle their nostr keys securely.
Discussion
This idea desperately needs to exist though. I would be happy with an oauth flow that enables remote wallet access.
#[3]β is working on something like this
Hmm after re-reading this it is actually a somewhat genius idea. Use encrypted ephemeral events to ask a lightning node to pay an invoice. You could create a CLN plugin that connects to the damus relay, listening for encrypted ephemeral events from your key. This could be separate from your main key.
Then your nostr client only needs to send these encrypted requests to the relay. This also gets around firewall and NAT hole punching issues, since you are using the relay as a way to proxy the connection.
wow!
Isn't this basically what LNC does?
https://docs.lightning.engineering/lightning-network-tools/lightning-terminal/lightning-node-connect
Yeah but instead of using their custom integrate that only works with LND, you this would work with any node, custodial and non-custodial. All damus would have to do is scan a QRcode to connect and it would just work.
LNC, commando-over-websocket and this proposal are all quite similar (encrypted rpc over a relay). It's just that both LNC are too complex if you just want to do basic stuff like paying an invoice.
yeah, for me one of the best things is that are no networking issues anymore. the networking issue always made it hard to self-host OAuth wallet bridges to give apps permissions.
Nostr solves this. it will be easy to connect any type of wallet and apps only need to implement one single interface.
Points for using the word "ephemeral" β‘οΈπ€
Ephemeral events is a set of event kinds in the nostr protocol, per NIP-16
https://github.com/nostr-protocol/nips/blob/master/16.md#ephemeral-events
how to solve a problem where someone doesnβt have a CLN but still wants the client to pay the invoice without opening a wallet
This doesnβt have anything to do with CLN, was just an example. Any other node can do something similar.
isnβt it amazing what is possible when we have open source decentralized money?? bitcoin + decentralized communication / coordination protocol (nostr) FTW!! π
π
Building that right now!
That's what I talked to you about yesterday...still working
I wouldn't link my node π¬ tbo
U right.. my keys live in my notes folder, Iβm silly like that
damus has password manager support if you store it under the damus.io website key. It will autofill your nsec. Highly recommend that if you use damus.
99.9% of the time Iβm using Damus fr fr! Thank you fren π«ππ«
Rlly hope I never lose my device 
Encrypted backups are the way to go.
But like⦠wanna link me or
Which password manager are you using? Iβm using https://bitwarden.com
Passwords are possible to steal with iframes and autofill (Dutch) https://www.security.nl/posting/788540/Wachtwoorden+in+Bitwarden+via+autofill+feature+en+iframes++te+stelen
Running my ol reliable trusty notes app on iPhone π²
I am too, but only because my wife wants access. :). I prefer and previously used https://www.passwordstore.org/
yes
I first wanted to make the payloads generic json-rpc but #[3] advised to use native nostr. I also think that users would probably use a custom, private relay for this that only relays these kinds of events for privacy and reliability.