Skip to content

next.js website for testing the behavior of web3modal and viem/wagmi when sending transaction via paymaster on zkSync

Notifications You must be signed in to change notification settings

ondefy/paymaster-mobile-workaround

Repository files navigation

Goal

This is a minimal web app to showcase the use of Web3Modal + Wagmi to send a transaction using Zyfi's paymaster on zkSync.

It is a Next.js project bootstrapped with create-next-app.

Getting Started

First, head to https://cloud.walletconnect.com/ to create a project ID. Then, create a .env file in the root folder and add the line containing your project ID:

NEXT_PUBLIC_PROJECT_ID=a4e8...

Then, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to test.

You should check the console logs when testing with different wallets to assess their behavior with the paymaster.

About

next.js website for testing the behavior of web3modal and viem/wagmi when sending transaction via paymaster on zkSync

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published