Skip to content

v1.0.0-p

Latest
Compare
Choose a tag to compare
@filmakarov filmakarov released this 04 Dec 16:05
· 0 commits to main since this release

BiconomyTokenPaymaster Release Notes

Overview

The BiconomyTokenPaymaster is a paymaster contract that enables users to pay gas fees using ERC20 tokens on EVM-compatible networks. It supports both external price quotes and independent oracle-based pricing mechanisms.

Key Features

Payment Modes

  1. External Mode

    • Relies on trusted entity (verifyingSigner) for token amount to be charged
    • Requires signature validation
    • Flexible support for any ERC20 token
  2. Independent Mode

    • Uses oracle-based pricing (Chainlink and TWAP)
    • No signature requirements
    • Supports pre-configured tokens only

Payment flow

  • PM charges user at postOp phase
  • Thus, the approve action to approve required amount of payment tokens should be included in the execution batch of the userOp