Skip to main contentThere are three ways to integrate Gelato’s Paymaster & Bundler into your application. Choose the approach that best fits your development workflow and requirements.
Gelato Gasless SDK
The @gelatocloud/gasless SDK provides the simplest integration path with built-in abstractions for smart accounts, payment methods, and transaction handling.
- Handles smart account creation and management automatically
- No paymaster configuration required for any payment method
- Built-in support for sponsored, ERC-20, and native token payments
- Automatic gas estimation and transaction polling
- Recommended for new projects and rapid development
Viem / Permissionless
For developers already using Viem or Permissionless in their stack, Gelato Bundler integrates seamlessly as a standard ERC-4337 bundler endpoint.
- Use your existing smart account setup and tooling
- Compatible with any smart account implementation (Kernel, Light Account, Safe, etc.)
- Requires paymaster configuration for ERC-20 and native token payments
- Full control over transaction construction and gas parameters
- Ideal for projects with existing account abstraction infrastructure
Direct API
For maximum flexibility or non-JavaScript environments, interact directly with Gelato’s JSON-RPC API endpoints.
- Language-agnostic integration via standard HTTP requests
- Full control over request/response handling
- Supports all ERC-4337 bundler methods
- Useful for backend services, mobile apps, or custom implementations
- Requires manual UserOperation construction and signing
Comparison
| Approach | Complexity | Flexibility | Paymaster Required |
|---|
| Gelato Gasless SDK | Low | Medium | No |
| Viem / Permissionless | Medium | High | Yes (for token payments) |
| Direct API | High | Full | Yes (for token payments) |