React SDK
Installation
To install the React SDK, use your preferred package manager from the command line. For example, if you use bun, execute the following command:
Initializing the React SDK
Since our React SDK uses @tanstack/react-query
, wagmi
and viem
we need these instances to be present at the parent level and then we lastly add the InverterProvider
.
@inverter-network/react
SDK has the export paths @inverter-network/react
and @inverter-network/react/client
Client components and hooks are exported from */client
this is done to ensure Next.js
users have a separate import path for server components .
Last updated