magicLink

A wallet configurator for Magic Link which allows integrating the wallet with React.

It returns a WalletConfig object which can be used to connect the wallet to via ConnectWallet component or useConnect hook as mentioned in Connecting Wallets guide

Example

magicLink({
apiKey: "pk_test_123",
emailLogin: true,
smsLogin: true,
oauthOptions: {
providers: ["google", "facebook"],
redirectURI: "https://example.com/foo/bar",
},
type: "auth", // or 'connect'
});