damus-io / damus

iOS nostr client
GNU General Public License v3.0
2k stars 289 forks source link

In App Wallet [Feature Request] #627

Open Surenic opened 1 year ago

Surenic commented 1 year ago

Zapping is nice, but switching apps to send them is uncomfy.

So is it possible to create an In App Wallet based on LNbits? Either lnbits.com or own instances of lnbits as a base? Could be implemented over its admin key just like getalby and others implement it.

alltheseas commented 1 year ago

Agree this would improve the UX significantly. I wonder if the built-in 'wallet' will cause trouble with the app store.

alltheseas commented 1 year ago

User Story

As a Damus user who wants to reward other nostr users with sats, I want to be able to zap in a frictionless effort without leaving the app, so I can maximize my Zap, Damus, and nostr enjoyment.

Acceptance Criteria

  1. User can send zaps without having to jump outside of Damus (i.e. to a third party LN wallet)
  2. User is prompted to confirm zap: e.g. "Send 21,000 sats to JB55" with an option to Cancel or Send ⚡
  3. User can check zaps received, and sats balance on the Damus app without having to jump outside of Damus (i.e. to a third party LN wallet)
  4. User receives notification of received sats
  5. User receives confirmation (could be modal) that a zap has been successfully sent
Piste commented 1 year ago

I would love this and I would zap all the time. Left, right and center, inside and out. The zapping would be enormous. This is how stacker.news does it and it is how I associate zaps now. Brilliant.

alltheseas commented 1 year ago

Current Damus + WOS ⚡ flow:

image

alltheseas commented 1 year ago

image

Mockup via Doc Sharp of telegram nostrdesign group: https://t.me/nostrdesign/1869

alltheseas commented 1 year ago

via @jb55

Fastest zaps in the west 🤠. Paying with your own node has its benefits! 🚀🏎️

This is about as fast as you can get for now, but we can do better.

Soon the rpc-over-lightning tech used in my #CLN iOS wallet app (https://lnlink.app/) will be integrated directly in damus, so you will be able to pay instantly and non-custodially with your node without a VPN or Tor.

There will be many future integrations as well: pay with your #LND node via #LNC, "connect to your wallet" apis, and eventually a fully integrated #breez sdk wallet.

The goal for #damus is to make it the best possible social app that integrates seamlessly into #bitcoin protocols for fun and profit. We're just getting started!

https://cdn.jb55.com/s/fastest-zaps-in-the-west-2.mp4

https://damus.io/note1tqaf5q2y80s88mg4wcqqh2cgx5qmglchwx8v9eymlvzdgvsdz0cqd48sr5