Skip to content

MPC Wallets

Thirdweb provides a wallet solution that can accommodate different needs. Their connect wallet UI allows connecting with the common industry wallets (ex: Metamask, Coinbase, WalletConnect) as well as creating an MPC wallet with social logins.

Implementation Example

  1. Package Install
    Terminal window
    npm install @thirdweb-dev/react
  2. Integration
    import {
    ThirdwebProvider,
    ConnectWallet,
    metamaskWallet,
    coinbaseWallet,
    localWallet,
    embeddedWallet,
    } from "@thirdweb-dev/react";
    export default function App() {
    return (
    <ThirdwebProvider
    activeChain="nebula"
    clientId="YOUR_CLIENT_ID"
    locale={en()}
    supportedWallets={[
    metamaskWallet(),
    coinbaseWallet({ recommended: true }),
    localWallet(),
    embeddedWallet({
    auth: {
    options: ["facebook", "google"],
    },
    }),
    ]}
    >
    <ConnectWallet
    theme={"dark"}
    switchToActiveChain={true}
    modalSize={"compact"}
    />
    </ThirdwebProvider>
    );
    }

Additional Thirdweb Documentation

Click here for the official documentation.