Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Send Pre-Funded Wallet #135

Open
aChrisYouKnow opened this issue Sep 24, 2024 · 4 comments
Open

[Feature Request] Send Pre-Funded Wallet #135

aChrisYouKnow opened this issue Sep 24, 2024 · 4 comments

Comments

@aChrisYouKnow
Copy link

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
Copy link
Contributor

rolznz commented Sep 24, 2024

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
Copy link
Author

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
Copy link
Contributor

rolznz commented Sep 26, 2024

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants