getAlby / go

A simple lightning mobile wallet interface that works great with Alby Hub.
https://albygo.com
25 stars 3 forks source link

[Feature Request] Send Pre-Funded Wallet #135

Open aChrisYouKnow opened 1 week ago

aChrisYouKnow commented 1 week ago

Assuming you are connected to Alby Hub with a 'Full Access' connection, the 'Send' screen in Alby Go would have an option to specify an amount, and then it would generate a new Alby Go connection secret. The resulting QR code (and copyable text) would also contain a LNURLw voucher for the specified amount so that the new friend/family member could scan the QR code (or paste in the text) to their own Alby Go app, and immediately have the balance you were gifting them. Bonus points if this could be formatted into a link that the friend/family member can just click, which will open in Alby Go (or direct them to download Alby Go if not installed yet). Being able to quickly gift friends/family a funded wallet on the go would be great for onboarding.

rolznz commented 1 week ago

I think it'd be good to add this to the "Friends & Family" app. Currently you can only give a wallet with 0 sats.

There's already a QR code and link you can copy there - did you try the Friends & Family app?

aChrisYouKnow commented 6 days ago

There's already a QR code and link you can copy there - did you try the Friends & Family app?

Yea, as far as I can tell, none of the links produced in the Friends & Family app auto-open in Alby Go and create the new wallet connection.

The link that starts with: https://getalby.com/nwc/new#nostr+walletconnect:// opens in the browser, and the user must sign up for Get Alby to move forward. The hope of this feature request is a 'one click, now you have a wallet'. Even better if that could be achieved with a balance already.

The link that starts with: nostr+walletconnect:// for me, opens in Damus on iOS. Perhaps if someone didn't have a Nostr app installed already this would open in Alby Go. Can anyone confirm this?

Don't get me wrong, the current workflow is still really good. However, having one link to click which prompts you to download the Alby Go app, and then clicking that same link one more time which brings you to a ready-to-go pre-funded wallet, is worth striving for if possible.

rolznz commented 5 days ago

Hi @aChrisYouKnow this is the problem with iOS scheme handlers. It will choose only one app. We do have an issue to implement this in Alby Go but it's not guaranteed to work if they have a nostr app already that supports NWC.

You can copy the link and in Alby Go, click paste when you setup your new wallet. Or, in person you can give the person you are onboarding a QR code to scan.

What you are thinking of is great. We could link to https://albygo.com/ with a special path to open an albygo:// link if the app is already installed, and add an Alby Go-specific scheme handler with an albygo:// prefix it would only open Alby Go. CC @reneaaron

aChrisYouKnow commented 5 days ago

We could link to https://albygo.com/ with a special path to open an albygo:// link if the app is already installed, and add an Alby Go-specific scheme handler with an albygo:// prefix it would only open Alby Go.

This sounds fantastic. This plus the ability for the wallet to be pre-funded would be my go-to way to quickly send a friend $20 worth of bitcoin if they didn’t have any yet.