MPC / Social Wallets (Web 2.0)
List of compatible Web 2.0 wallets
List of Wallets
Social Wallets are supported using Magic SDK
Platform | Selector |
---|---|
Apple | appleMagicWallet |
Bitbucket | bitbucketMagicWallet |
Discord | discordMagicWallet |
facebookMagicWallet | |
Github | githubMagicWallet |
Gitlab | gitlabMagicWallet |
googleMagicWallet | |
linkedinMagicWallet | |
Microsoft | microsoftMagicWallet |
Twitch | twitchMagicWalletb |
twitterMagicWallet |
Usage
1. Obtain Magic Auth Custom Keys
By default, 0xPass employs development keys, which are specifically designed for use in development environments. For a more secure and production-ready setup, you have the option to input your own API keys obtained magic, enabling the production mode.
Obtain your custom Magic Auth Keys
2. Add Magic Auth keys to 0xpass
Login to 0xPass Dashboard, select your project and click on Connect
tab.
Add your keys obtained from Magic there and save.
3. Use social wallet in the code
import { discordMagicWallet, googleMagicWallet } from "0xpass/wallets"
const connectors = connectorsForWallets([
{
groupName: "Social",
wallets: [
discordMagicWallet({ 0xpassApiKey, chains }),
googleMagicWallet({ 0xpassApiKey, chains }),
],
}
])