Wallet onboarding - Foundation funded accounts #1659
Replies: 1 comment 1 reply
-
reCaptcha detailsWe had looked into implementing reCaptcha last year, and even started a basic implementation on the frontend side before deciding not to use it. The original implementation intended to use both `v2` and `v3` reCaptcha. For clarification, `v3` reCaptcha does not _replace_ v2 reCaptcha; it is an entirely different protection type that is used for different purposes, and v2 is not being retired/deprecated or any other sort of thing.In a nutshell:
Google has recently renamed these two different versions of reCaptcha in reCaptcha Enterprise to reflect this reality - v2 was renamed Challenge based reCaptcha, and v3 was renamed Score based reCaptcha. Since the v3 reCaptcha is an entirely different service, it requires its own resources independent from v2 reCaptcha. This means that a different client is loaded for v2 reCaptcha than for v3, from a different URL, and that client requires a dedicated API key. When verifying the reCaptcha, the backend would likewise needs to know which type of reCaptcha token it is receiving during the account creation step for it to know which backend API endpoint to send the request for reCaptcha verification (or 'assessment', as v3 is called) and how to handle the response - since scoring reCaptcha returns a fuzzy number between 0 and 1, but challenge reCaptcha returns a boolean success value. I think that, at least for an initial release, we should include challenge based reCaptcha only, for 4 major reasons:
References: User flowCURRENT FLOW
NEW FLOW
|
Beta Was this translation helpful? Give feedback.
-
This document outlines a short-term flow that will provide foundation-funded accounts for users signing up for NEAR accounts. Longer-term, we will want a more complicated system in place that allows us to loan tokens to users that are creating their NEAR account; that work is documented here: #1577. Unlike this proposal, the long-term plan in #1577 will 'borrow' tokens from a liquidity pool or DAO to reserve accounts for a short period of time, using a smart contract to control how accounts can be closed (funds will only be able to be sweeped back to the pool that they were loaned from), and when/if users do not claim accounts within X time (24h?) they will be automatically deleted and the loaned tokens reclaimed.
Foundation-funded Faucet backend and behavior
Avoid spamming/sybil attacks - @vgrichina @MaximusHaximus
Modify wallet UX
What needs to be done from a design pov? - @corwinharrell
Faucet funds
Required to finance new account creation - @kcole16
Beta Was this translation helpful? Give feedback.
All reactions