Build on InkPaymaster IntegrationOverview

Ink Paymaster

The Ink paymaster lets an ERC-4337 smart account submit a UserOperation while reimbursing gas in USDC, USDâ‚®0, or USDG. The public paymaster pays native gas and charges the smart account in its selected reimbursement token.

The ERC-20 token never becomes Ink’s protocol gas token. The paymaster deposits native ETH into EntryPoint, and EntryPoint uses that deposit to settle gas with the bundler.

Architecture

ComponentResponsibility
Smart accountBuilds, authorizes, and signs the UserOperation
Paymaster serviceApplies policy and returns signed paymaster data
Paymaster contractSupplies native gas through its EntryPoint deposit
AltoValidates, bundles, and submits UserOperations to EntryPoint
EntryPointExecutes the operation and settles native gas

Alto is the ERC-4337 bundler, not the paymaster. Keep the smart account, UserOperation encoding, SDK, paymaster, bundler, and EntryPoint on the same EntryPoint version.

Compatibility

SurfaceEntryPoint v0.7EIP-7702 / EntryPoint v0.8
NetworkInk Mainnet (57073)Ink Mainnet (57073)
SDK deploymentINK_PUBLIC_PAYMASTERINK_PUBLIC_PAYMASTER_V08
EntryPoint0x0000000071727De22E5E9d8BAf0edAc6f37da0320x4337084D9E255Ff0702461CF8895CE9E3b5Ff108
Prepaid paymaster0x4d850D985C334f0eb8b49CFb5cbfe8D23169cc9b0xE361E63515109BFDC4c32EfC4d2e0ede4d4744D8
Quote version23
Reimbursement tokensUSDC, USDâ‚®0, and USDGUSDC

Both deployments require @hellomoon/ink-paymaster v0.2.3 or later and Viem v2.55.18 or later, below v3.

Install the SDK

pnpm add @hellomoon/ink-paymaster@^0.2.3 viem

The SDK pins the public Ink deployment metadata, validates quote responses, adapts the service to Viem, and exposes a low-level client for custom account stacks.

Continue with Pay Gas with Stablecoins, EIP-7702, or the full SDK documentation.

Made with đź’ś by the Ink team