web3 wallet logo
DocsWallets

Back to top

MetaMaskDeFi WalletWalletconnectCoinbase WalletDesktop WalletBrave WalletTrust WalletimTokenXDEFI

Coinbase Wallet

Install

pnpm add @react-web3-wallet/coinbase-wallet @coinbase/wallet-sdk

Usage

import CoinbaseWallet from '@react-web3-wallet/coinbase-wallet';
import { createWallet } from '@react-web3-wallet/react';

const wallet = createWallet(
  new CoinbaseWallet({
    providerOptions: {
      appName: 'My App',
      scanToConnectOptions: {
        rpcUrl: 'xxx',
        chainId: 1,
      },
    },
  }),
);

See also: https://docs.cloud.coinbase.com/wallet-sdk/docs/installing

InstallUsage