Mobile
In Mobile, since we are in the web app authentication flow and web views are not recommended ways for authentication. We wrapped the implementation of authentication in our Leap auth web app (At present we support only web3auth for mobile).
At present minting an NFT in mobile, we are supporting via few and far.
Leap Stage - stage-auth.leapwallet.io
Leap Production - auth.leapwallet.io
To integrate into your mobile app, follow the below steps.

Step 1
We would recommend you open leap auth URLs in the following way.
Android - Chrome custom tabs
React Native - In-app browser
Step 2
Open the Leap Auth URL with the leapConfig param.
Create a config JSON object of the below format
Basic Config
JSONStringify the Object.
Encode the URIComponent in the String
Encode the object from base64toASCII
Add the param name
leapConfig
Step 3
Once the authentication is successful and the wallet is created, Leap auth will redirect the user to leapRedirectUrl with the following params
LeapNearAddress - Wallet Address
Advanced Config
In advanced config, you can provide your own firebase and web3Auth configs
Follow this link https://web3auth.io/docs/guides/firebase to generate your Firebase and Web3Auth configs.
Pass the information below
Examples
Last updated