RainbowKit
You can easily add social logins to RainbowKit with our helper wallets. Here is a complete example.
To import the helper wallets:
import {
googleWallet,
facebookWallet,
githubWallet,
discordWallet,
twitchWallet,
twitterWallet,
} from '@zerodevapp/wagmi/rainbowkit'
These can be used with RainbowKit's connectorsForWallets
function to customize the wallet list:
import { connectorsForWallets } from '@rainbow-me/rainbowkit'
Live Editor
Result
Loading...
For Web3 wallets like MetaMask, you can use them as they are (as EOA), or "wrap" them with AA using enhanceWalletWithAAConnector
, in which case the wallet will be used as the signer/owner for your AA wallet. See this example:
Full Code (Editable)
Result
Loading...