This is a Next.js project bootstrapped with create-next-app
.
This tutorial creates a biconomy nexus smart account on the Base Sepolia chain and executes a gasless transaction.
To use the local SDK during development:
- Run
bun run dev
from the SDK directory - Update your package.json dependencies:
{
"dependencies": {
"@biconomy/abstractjs": "file:../../sdk/dist/_esm"
}
}
- Enter the
privateKey
andpaymasterUrl
in the index.ts file. - Transfer some eth to the smart account address on base sepolia and save.
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.