-
Notifications
You must be signed in to change notification settings - Fork 289
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
Bring a Fren (The Daniel's onboarding) #1696
Comments
@robagreda what do you think 👀 |
@danieldaquino what do you think of the technical feasibility and points for this ticket? My gut feel is that we'll need to break it down to smaller pieces, and maybe rearrange the flow to make execution simpler. |
@alltheseas, my gut feel is that we will likely need to break this down into at least 2 or 3 separate parts, which I would imagine could be ordered in this sequence:
|
@alltheseas, @jb55, for the preloading of sats, one thing that came to my mind was the Bitcoin "laisee" (https://laisee.org), where the person giving the sats can create a lightning QR code that the recipient can use to redeem sats to their own wallet. I would imagine that whatever underlying lightning protocol mechanisms are used there could potentially be useful here. |
Interesting! Maybe the redeem code is DM'd from the inviter to the newly created profile? What happens if I tap on a QR code in DMs? Testing now. |
@alltheseas, I believe the QR code in the Laisee points to a special lightning url. A DM could be one way to deliver it, but that URL could also (in theory) be embedded together with the rest of the settings, or in a way that Damus could immediately understand and redeem it. |
Sounds great. Redeeming from a QR in DMs is a painful experience, just tested. |
https://onboardstr.vercel.app/ implemented this with the following flow:
|
Onboardstr by Bera implemented something very similar yesterday! An insight gleaned from testing onboardstr: what if we could append the inviter's npub to the Damus invite link? If invitee taps, and installs Damus they automagically have relays and follow lists either added, or suggested. https://damus.io/note1g8ypuxjkmn4gse5d3nx22f5h5zyyuxaglsgedqghexl5hly3xkasu03wrd |
On Thu, Nov 16, 2023 at 08:54:58PM -0800, alltheseas wrote:
Onboardstr by Bera implemented something very similar yesterday!
An insight gleaned from testing onboardstr: what if we could append the
inviter's npub to the Damus invite link? If invitee taps, and installs
Damus they automagically have relays and follow lists either added, or
suggested.
https://damus.io/note1g8ypuxjkmn4gse5d3nx22f5h5zyyuxaglsgedqghexl5hly3xkasu03wrd
As far as I know you can't pass information into an appstore download
link.
Here's an idea:
Create a note of kind X with random phrase as a `d` parameter on the
note: bob-is-cool
This note could reference a contact list that would be copied to that
users contact list on account creation.
The only downside here is that people can see these notes and create
fake ones that override the ones your friend made... hmm.
Spammers could grief these pretty hard, and they would have incentive to
do so...
Alternatively we could create a private service that only allows unique
keys and just use that.
|
What does this entail? A private relay with the note mechanism you described above? |
the note would contain a contact list of users to follow. Maybe these would
expire after some time.
#1748
|
@jb55, would it be possible to register another custom URL scheme on the app? If so, we might be able to eliminate the need for copying/pasting invite codes. We could generate special URLs under this new scheme containing the data they need. So once the user has Damus installed, all they would need to do is click on the special link provided to them, or scan a QR code for that URL. Then we could setup the app to interpret these special data urls, confirm details with the user, and load everything. Here is one example:
The upside of the above is removing the need of any server-side functionality. The downside is that the URLs might get huge. Another possibility: Another possibility would be saving that JSON data as a special nostr note, so all 4 steps above would apply — however instead of a big base64 string, we would have only a short nostr note id. (And since note ids are SHA256 hashes of the signed note contents, a spammer would not be able to generate spammy invite data that matches the legitimate note id and invite URL) Example:
On this one, we might not even need a new URL scheme at all, we might be able to use |
@pablof7z example Uncle Jim onboarding flow that uses nip-05 + uncle Jim domain provides automagically LN address for newly onboarded folks https://damus.io/note18kma8hr0dcyy30u0272473u2ggacgws6xlue5e7dexnqatfc4mdshmvgse |
@ericholguin wdyt of this one, minus the LN wallet (for which we dont have a ready solution today)? |
I think it's a great idea. I could help with the front end. |
user story
As a Damus and nostr ambassador, I would like a way to send a personalized Damus invite to my friend with pre-loaded content & sats, so that they have a great experience when they join and they are more likely to stay.
acceptance criteria
design / open questions
pre-requisites for pre-loading wallet with sats
user flow
invite friend mockup
The text was updated successfully, but these errors were encountered: