Wagmi Adapter
Example
Learn how to migrate to thirdweb's ConnectButton component from RainbowKit.
Install the connect SDK in your application
Wrap application using ThirdwebProvider
and remove RainbowKitProvider
Import createThirdwebClient
and ConnectButton
from thirdweb and add them to your application. Modify the ConnectButton
component
by adding the client
prop.
To customize your ConnectButton component, view the cheatsheet below or view the customization documentation.
If you are using Wagmi, Viem, or Ethers in your application, use thirdweb adapters to continue using contracts, providers, and wallets from these libraries.
npm install @rainbow-me/rainbowkit wagmi [email protected] @tanstack/react-query
npm install thirdweb