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.

Reply to this note

Please Login to reply.

Discussion

This idea desperately needs to exist though. I would be happy with an oauth flow that enables remote wallet access.

We would do it as an oauth app on our side. Also the key doesnt need to be the users own key. You could set budgets for keys as well.

Hmm ok, will re-read with this in mind

That would be sweet 😲

#[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!

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

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.