Replying to Avatar brugeman

Lightning wallet in 1 click!

I vibe-coded a trivial wallet-creation app today: https://zap.land

One click and you get NWC string that you can put into Alby Go to topup the wallet and send payments, or put into Damus/Amethyst to send zaps. You also get LN address that you can paste into your Nostr profile and receive zaps to this wallet.

The backend of this is a development instance of a new custodial lightning wallet deployed in a trusted execution environment. That means you get better security and privacy guarantees, along with great usability. It's open source, you will be able to launch an instance of it yourself and clients could discover your instance along with ours and let users choose. The source code is here: https://github.com/nostrband/nwc-enclaved

This is an invitation for public testing and for your feedback. The wallets created have the max balance limit of 1000 sats and will likely be turned off at some point when testing is over and dev instance needs to be shut down. This is not the real thing, it's a toy to get a taste of it!

The service is based on "phoenixd" wallet with fully automatic liquidity management, which means - fees. Phoenix charges 4 sats + 0.4% per payment - we charge extra 1 sat, phoenix charges 1% plus mining fees for liquidity - we add nothing here, we also charge 1 sat per day to avoid getting spammed. When I say "we" I mean "the code inside the enclave" - it will only use revenue to pay for itself inside the enclave, not to make a profit.

Anyways, send some feedback!

Hi, why nort create this using https://www.spark.money/?

Reply to this note

Please Login to reply.

Discussion

*not

We will create spank-based on too, it's a different set of tradeoffs.

What are the tradeoffs?

Automatic wallet creation by apps for new users is one of the goals of the nwc-enclaved, and it supports zaps.

The tradeoffs with Spark are that it's a new tech and quite complex and not many people can understand it. And Spark operators have to be trusted, although I'd say they should run in enclaves too. And no fees for now but they will come and hopefully will be competitive. And 'unilateral exist' is 'coming soon' at the moment. And your wallet still has to be online 24/7 to receive payments if I understand it correctly. So - pick your poison. I think it's very promising, but wouldn't bet 100% on it right now.

I sent your answer to Kevin and he replied with this:

Awesome, thanks! Offline receive is a great capability.

Although I am looking at the diagram, the LN payment itself is offline, but looks like invoice generation still needs receiver to be online, which means something like zaps isn't possible offline.

Kevin says they'll allow invoice creation with offline receiver too, that's promising.