Free download1 sections · 2 min readBy Dezső Mező · Published .mdtemplateSolidity + Markdownerc-4337paymasteraccount-abstractionsolidity
Gasless UX · ERC-4337 paymaster contract + bundler integration template. Compatible with Arbitrum, Base, Optimism, Polygon. MIT.
Complete paymaster template for ERC-4337 · ERC-20-paid gas, whitelist, spending limits, rate-limits. With Biconomy / Alchemy bundler integration examples.
01What the file contains
- Paymaster contract (Solidity 0.8.26)
- ERC-20 gas payment with token whitelist
- User spending limit + rate limit enforcement
- Biconomy + Alchemy bundler integration
- Foundry invariant test suite
What to take away
- Paymaster contract (Solidity 0.8.26)
- ERC-20 gas payment with token whitelist
- User spending limit + rate limit enforcement
- Biconomy + Alchemy bundler integration
- Foundry invariant test suite
More from the lab
Browse all entries- Foundry invariant starter · for smart contracts
- Smart contract threat model template
What Solana RPC actually costs once the prototype works
Solana foot-guns Anchor does not remove
Want this looked at on your own system?Start a conversation
