LDK targets wasm as a compile target. mutiny wallet uses that today to run a lightning node in wasm in the browser. you can try it on testnet today!
On the "every nostr client should be a relay" point: Nostr was explicitly designed not that way. You need relays to aggregate events and for search/discovery. decentralized, p2p, and distributed are all different things. nostr is decentralized, not p2p, and that's why it has a chance at working.
I did not know about LDK's target of compiling to wasm. Thanks for telling us 👍
I remember reading about Mutiny Wallet. I searched for it but could not find it again, and plainly forgot about the name Mutiny wallet 🙈 Thanks for mentioning the name here. https://mutinywallet.com/
I was thinking of a future where running a NOSTR relay becomes burdensome because of the popularity. It's better to have a system with users that also relay, then having some centralized entities doing all the storing and relaying.
reply
One of the devs of mutiny! I think @rijndael nails it by comparing it to p2p. Lightning is designed to be p2p, nostr isn't. That's why I think a LN in a web browser is more capable than a nostr relay. Though it's not without hurdles to solve even then.
reply