Wagmi is a collection of React Hooks containing everything you need to start working with Ethereum. @mocanetwork/airkit-connector
is a connector for the popular library to help you integrate and interact with the AirService
.
This package can be used to initialize a that will seamlessly manage the interaction (wallet connection state and configuration, such as auto-connection, connectors, and ethers providers) of your dApp.
Inside your (root) React component you can add the wagmi provider to the component tree.
Now you can access the connector in any component and interact with the wagmi connector. The AirService
itself can also be accessed by casting the Connector
to a union type with AirConnectorProperties
or directly to AirConnector
.
Currently we're not supporting following features:
Add Chain
Switch Chain
Sign Typed Message