- Register the Sophon Account provider
- Announce it through the EIP-6963 events
- Make it available to EIP-6963 compatible applications
EIP-6963 Example Repository
You can check an example of implementing EIP-6963 with RainbowKit.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
npm install @sophon-labs/account-eip6963
yarn add @sophon-labs/account-eip6963
pnpm add @sophon-labs/account-eip6963
import "@sophon-labs/account-eip6963/testnet";
import "@sophon-labs/account-eip6963/mainnet";
import { getDefaultConfig } from "@rainbow-me/rainbowkit";
import { sophonTestnet, sophon } from "wagmi/chains";
import { createSophonEIP6963Emitter } from "@sophon-labs/account-eip6963";
createSophonEIP6963Emitter("testnet");
export const config = getDefaultConfig({
appName: "Your Application",
projectId: "YOUR_PROJECT_ID",
chains: [sophon, sophonTestnet],
ssr: true,
});
Was this page helpful?