User Sign-in and registration
Singularity Wallet allows users to sign-in and onboard to your app by linking their existing blockchain wallet or by creating a new blockcain wallet using an auth method of your choice. Learn more about our wallet offerings here.
First, follow steps 1, 2 and 3 from the SDK setup and initialization section to setup your Singularity account and initialize the Singularity SDK inside your app.
Important: Make sure you configure the chain(s) that you want new users to create wallets on, and also configure the social login methods you want to allow your users to use and the external wallets you want to allow users to connect with.
Now, you have 2 ways in which you can create Wallet accounts.
Singularity Auth: Use the Singularity drawer to on-board users using one of the SSO authentication methods that you have configured in your Singularity account.
Custom Auth: Create your own authentication flow and UI, and use Singularity APIs to silently create wallets for the user in the background.
Sample Implementation
For Singularity Auth: https://github.com/coinbrix/demo-app/
For Custom Auth: https://github.com/coinbrix/firebase-custom-auth-demo
Last updated