Authentication
Easy web3 onboarding using simple authentication
Background
Web2 users are familiar with easy authentication flow with email, password, or google/apple providers. Meanwhile, Web3 onboarding involves complicated steps like educating users about cryptographic principles, secure key management, and the unique aspects of decentralized technologies. To improve the web3 onboarding experience, East SDK provides easy sign-in with Email OTP and Google providers.
TL;DR With web2 authentication, users will get a NEAR keypair that acts as their wallet
User signin with their email or google, this will act as their authentication
An account (
{randomWord}.arkana.near
) will be created during the first-time login(first-time login) User will generate a NEAR keypair in the background
User will get
encryptedKeyPair
andencryptedSymmetricKey
that they will decrypt themselvesKMS will host the Key Encryption Key (KEK) to decrypt and encrypt symmetric key (a.k.a One Time Pad / OTP)
To decrypt the encryptedSymmetricKey, user will get short-lived RS256 signed JWT to authenticate to KMS server
Last updated