Installation
Setup Instructions
1
Create Web3Auth Project
- Visit the Web3Auth Dashboard
- Create a new project or select an existing one
- Configure your project settings and authentication methods
- Enable Smart Accounts
- Copy your Client ID from project settings
2
Get Gelato API Key
- Visit the Gelato App
- Navigate to
Paymaster & Bundler > API Keys - Create a new API Key and select your required networks
- Copy the generated API Key
3
Set Environment Variables
Create a
.env.local file in your project root:Implementation
1
Import Dependencies
2
Configure Providers
In the context configuration, add your network environment, network details, and smart account type.
3
Create Bundler Client
4
Send User Operations