This example showcases how to use AGW batch transactions inside a Next.js application.
-
Get a copy of the
agw-batch-transactionsexample 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-batch-transactions examples-main/agw-batch-transactions && cd agw-batch-transactions
-
Install dependencies
npm install
-
Run the development server
npm run dev
Visit http://localhost:3000 to see the app.