This example showcases how to use the Abstract Global Wallet react SDK inside a Next.js application.
-
Get a copy of the
agw-nextjsexample directory from the Abstract Examples repository:mkdir -p agw-nextjs && curl -L https://codeload.github.com/Abstract-Foundation/examples/tar.gz/main | tar -xz --strip=2 -C agw-nextjs examples-main/agw-nextjs && cd agw-nextjs
-
Install dependencies
npm install
-
Run the development server
npm run dev
Visit http://localhost:3000 to see the app.