Library Integrations
RainbowKit
Learn how to integrate Abstract Global Wallet with RainbowKit.
The agw-react
package includes an option to include Abstract Global Wallet
as a connection option in your RainbowKit ConnectButton.
AGW + RainbowKit Example Repo
Use our example repo to quickly get started with AGW and RainbowKit.
Installation
Install the required dependencies:
Import
The agw-react
package includes the abstractWallet
connector you can use to add Abstract Global Wallet as a
connection option in your RainbowKit ConnectButton.
Usage
1. Configure the Providers
Wrap your application in the following providers:
- WagmiProvider from
wagmi
. - QueryClientProvider from
@tanstack/react-query
. - RainbowKitProvider from
@rainbow-me/rainbowkit
.
2. Render the ConnectButton
Render the ConnectButton
from @rainbow-me/rainbowkit
anywhere in your app.