EIP-6963 is a
standard way to add support for Sophon Account using the main wallet providers
in the market.The implementation is very simple, you just need to import the package and it will automatically broadcast the provider to the wallet provider that you are using. Most modern wallet connection libraries, like RainbowKit, wagmi, or Reown Appkit, support EIP-6963.
Copy
Ask AI
npm install @sophon-labs/account-eip6963
Then you need to import and initialize the EIP-6963 emitter in your application entry point, the simplest way is:
Copy
Ask AI
import "@sophon-labs/account-eip6963/testnet";
If you need dynamic network support, you can use the root package, for example: