Magic Link
Allows users to connect to your app using Magic Auth or Magic Connect
Magic is a developer SDK that integrates with your application to enable passwordless Web3 onboarding (no seed phrases) and authentication using magic links
Usage
Magic offers two flavors of our SDK: Magic Connect, which provides a plug-and-play experience, and Magic Auth, a customizable white-labeled wallet solution.
Magic Auth
Magic Connect
Configuration
Provide a configuration object when instantiating the MagicLink
class.
apiKey (required)
clientId (recommended)
type (optional)
magicSdkConfiguration (optional)
smsLogin (optional)
emailLogin (optional)
oauthOptions (optional)
chains (optional)
walletStorage (optional)
Methods
Inherits all the public methods from the AbstractClientWallet
class.
connect
Magic Auth
Magic Connect
getMagic
Get Magic Auth SDK instance. Learn more about Magic Auth SDK
you use all methods available in the Magic Auth SDK from the SDK instance. Refer to Magic Auth API for more details.
const magicSDK = await wallet.getMagic();