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
Theagw-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 theConnectButton
from @rainbow-me/rainbowkit
anywhere in your app.