Skip to content

Ink Public Paymaster SDKPay ERC-4337 gas reimbursement with USDC

A small TypeScript SDK for the public prepaid paymaster on Ink Mainnet.

The SDK targets one pinned deployment: EntryPoint v0.7 on Ink Mainnet, native Ink USDC, and the Hello Moon public quote and bundler routes. Alto is the ERC-4337 bundler behind the public RPC; the paymaster is a separate EntryPoint-integrated contract.

What it handles

  • Requests and validates prepaid USDC quotes.
  • Integrates with Viem's Bundler Client paymaster hooks.
  • Reads USDC balance, allowance, and refund credit.
  • Encodes USDC approvals and refund claims.
  • Estimates, sends, and waits for raw v0.7 UserOperations.

What your wallet handles

Your application supplies an EntryPoint v0.7-compatible smart account and its signing mechanism. Before the first prepaid operation, that account must hold native Ink USDC and execute a finite, owner-paid approval for the paymaster.

Public prepaid USDC paymaster for Ink Mainnet