Skip to main content

Paymaster

Overview

The Fastlane paymaster allows anyone to leverage their shMon balance to pay for user operations gas fees on Monad.

Addresses

Monad Testnet

The paymaster contract address can be retrieved via the paymaster4337 function on the AddressHub contract. AddressHub contract address: 0xC9f0cDE8316AbC5Efc8C3f5A6b571e815C021B51

interface AddressHub {
function paymaster4337() external view returns (address);
}

address addressHubAddress = 0xC9f0cDE8316AbC5Efc8C3f5A6b571e815C021B51;
address paymaster = AddressHub(addressHubAddress).paymaster4337();

Monad Mainnet

Soon™

How it works

Both self and third party sponsoring are illustrated here: https://github.com/FastLane-Labs/4337-bundler-paymaster-script.

Self sponsoring

Users can pay for their own user operations by bonding their shMon balances to the Fastlane paymaster. Once done, users will be able to submit user operations without having to maintain their smart wallet balance or depositing into the entrypoint contract.

Third party sponsoring

Apps and wallets can sponsor gas fees for their users by bonding shMon to the paymaster as well. This allows users to never worry about maintaining a native token balance at any point in time.