Skip to content

ERC-4337 Integration with SBC

What is ERC-4337?

ERC-4337 is the Account Abstraction standard for Ethereum that enables smart contract wallets to function like EOAs (Externally Owned Accounts) without requiring changes to the Ethereum protocol. This standard introduces several key components:

  • UserOperation: A data structure that represents a user's intent to perform an action
  • Bundler: A service that bundles multiple UserOperations and submits them to the blockchain
  • Paymaster: A contract that can sponsor gas fees for users
  • EntryPoint: A singleton contract that verifies and executes UserOperations

SBC's Custom Implementation

Stable Coin Inc has developed a custom bundler and paymaster implementation optimized for the Base network. Our implementation enables:

  1. Gasless Transactions: Users can perform transactions without having ETH for gas
  2. Batch Transactions: Multiple actions can be combined into a single transaction
  3. Account Abstraction: Smart contract wallets can be used as primary accounts

Architecture

See Architecture

SBC Bundler

Our custom bundler service:

  • Accepts UserOperations from clients
  • Validates operations according to ERC-4337 specification
  • Bundles compatible operations together
  • Submits bundles to the EntryPoint contract on-chain (v0.7)

SBC Paymaster

Our custom paymaster:

  • Verifies that operations meet SBC's sponsorship criteria (coming soon)
  • Signs operations that qualify for gasless execution
  • Manages gas sponsorship for different use cases

Next Steps

  • Reach out to us on Telegram to get your Bundler and Paymaster URL, as well as some SBC on testnet to try our demos.
  • Try our use cases: