@web3-wallet/coinbase-wallet
TypeScript icon, indicating that this package has built-in type declarations

2.4.1 • Public • Published

Coinbase Wallet

Install

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

Usage

import CoinbaseWallet from '@web3-wallet/coinbase-wallet';
import { createWallet } from '@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

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @web3-wallet/coinbase-wallet

    Weekly Downloads

    4

    Version

    2.4.1

    License

    MIT

    Unpacked Size

    70.9 kB

    Total Files

    35

    Last publish

    Collaborators

    • logan_luo