Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/ckb-devrel/ccc/llms.txt

Use this file to discover all available pages before exploring further.

EIP-6963 is a standard for discovering multiple injected EVM wallets from a single interface. CCC uses this standard to automatically detect all EVM wallets the user has installed.

Installation

npm install @ckb-ccc/eip6963
If you are using @ckb-ccc/connector-react or @ckb-ccc/ccc, EIP-6963 discovery is already included.

Supported wallets

Any EIP-6963-compliant browser extension wallet is automatically detected, including:
  • MetaMask
  • Rabby
  • OKX Wallet (EVM mode)
  • Coinbase Wallet
  • Any other EIP-6963 compliant wallet

Usage

EVM wallets are automatically registered when using the CCC connector:
import { ccc } from "@ckb-ccc/connector-react";

export default function App({ children }) {
  return <ccc.Provider>{children}</ccc.Provider>;
}
Each detected EVM wallet appears separately in the wallet selector UI.

Signer details

PropertyValue
SignerTypeEVM
SignerSignTypeEvmPersonal

Filtering EVM wallets

To show only EVM wallets, use signerFilter:
<ccc.Provider
  signerFilter={async (signerInfo) =>
    signerInfo.signer.type === ccc.SignerType.EVM
  }
>
  {children}
</ccc.Provider>

Build docs developers (and LLMs) love