agw-react package includes an option to include Abstract Global Wallet as a connection option in the thirdweb ConnectButton component.
AGW + Thirdweb Example Repo
Use our example repo to quickly get started with AGW and thirdweb.
Installation
Install the required dependencies:Usage
1. Configure the ThirdwebProvider
Wrap your application in the ThirdwebProvider component.Next.js App Router: If you are using Next.js App
Router, create a new component and add the
use client directive at the top of your file (see
example)
and wrap your application in this component (see
example).2. Render the ConnectButton
Render the ConnectButton component anywhere in your application, and includeabstractWallet in the wallets prop.