Skip to main content

Core Wallet

Prompt users to connect to their Core wallet.

Usage

import { CoreWallet } from "@thirdweb-dev/wallets";

const wallet = new CoreWallet();

wallet.connect();

Configuration

Optionally, provide a configuration object when instantiating the CoreWallet class.

projectId (recommended)

This is only relevant if you want to use WalletConnect for connecting to Core wallet mobile app when MetaMask is not injected.

This projectId can be obtained at cloud.walletconnect.com. It is highly recommended to use your own project id and only use the default one for testing purposes.

import { CoreWallet } from "@thirdweb-dev/wallets";

const wallet = new CoreWallet(
{
projectId: "YOUR_WALLET_CONNECT_PROJECT_ID",
},
);
recommended (optional)

Show this wallet as "recommended" in the ConnectWallet Modal.

CoreWallet({
recommended: true,
});

Methods

Inherits all the public methods from the AbstractClientWallet class.