Quick Start
After reading this page:
You'll go through a decision process to understand the best way to integrate with ERC4337 methods with Gelato Bundler and Zerodev SDK.
You'll know exactly which SDK/API method is for you.
Depending on your final destination, please click the corresponding link to find about your chosen SDK method:
Getting Started
Using Bundler API Endpoints
1. Clone the repository
2. Install dependencies
3. Copy environment variables
or
Using Zerodev SDK
1. Clone the repository
2. Install dependencies
3. Copy environment variables
Option 1. Sponsoring all of your users' gas
Gas Fee Coverage A third-party sponsor (or paymaster) covers the gas fees, allowing users to transact without holding any native tokens.
Frictionless Experience Users benefit from a seamless on-chain interaction, since they don’t directly manage or pay for transaction fees.
Option 2. Your users pay for for their own gas
User-Paid Fees Users themselves cover the gas costs—either with the network’s native token (no paymaster needed) or through an ERC20 paymaster (when paying in ERC20 tokens).
Greater Control Since users handle their own fees, they maintain direct control over cost management and transactions.
Last updated