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

Reply to this note

Please Login to reply.

Discussion

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