Implementation Guide
Step by step guide for implementing our SDK
Install Mirai Package
Social Login Using Web3Auth
Installation
Install Web3Auth Packages
npm: npm install --save @web3auth/no-modal @web3auth/openlogin-adapter
yarn: yarn add @web3auth/no-modal @web3auth/openlogin-adapterimport { Web3AuthNoModal } from "@web3auth/no-modal";
import {
CHAIN_NAMESPACES,
WALLET_ADAPTERS,
ADAPTER_EVENTS,
CONNECTED_EVENT_DATA,
} from "@web3auth/base";
import { OpenloginAdapter } from "@web3auth/openlogin-adapter";
Whitelisting
Initialise web3auth
Login with web3auth
Format privateKey
Initialize Mirai SDK
Set Current SDK Instance
Example
Destroy Instances
Last updated