Quick Start
Installation
or
Import Styles
Set Up TomoEVMKitProvider
Replace RainbowKit with TomoEVMKitProvider. Use a `clientId` obtained from the https://dashboard.tomo.inc/.
Create a Project and Retrieve clientId
Talk to us to create an developer account.
Log in to the Tomo Developer Dashboard.
Create a new project and copy the generated `clientId`.
Use this `clientId` in your TomoEVMKitProvider.
Add Wallets
TomoEVMKit integrates multiple wallets, including MetaMask, WalletConnect, and more. Add wallets during configuration using the following example:
Displaying the Modal
To display the Modal for wallet connection, you can use the hooks provided by TomoEVMKit. These hooks are based on RainbowKit’s modal system.
Example Code:
Additional Reference
For more advanced usage of the Modal system, you can refer to the RainbowKit Documentation. The behavior and integration are similar, making it easy to adapt.
Last updated