Skip to main content
You can add support for Sophon Account in your React application by using the @sophon-labs/account-react package.

Installation

Usage

Before anything, you need to wrap your application with SophonContextProvider, that will store context information about the account and walletClient connection.
With that ready, you can now use our hooks to interact with Sophon.
And you can use any wagmi hook to interact with the wallet as well.

React Example

You can check an example of implementing React Native with Sophon Account.