Zyfi
  • Introduction
    • What is Zyfi?
    • Paymaster Flow
  • Gasless Program
    • Gas Grants Program
  • Integration Guide
    • Paymasters Integration
      • ERC20 Paymaster
      • Sponsored Paymaster
      • API Key management
    • API documentation
    • Intent Based
    • Paymaster Sybil Defense
    • Supported Tokens
      • Supported Tokens on ZKsync
      • Supported Tokens on Abstract
    • Case Studies
      • Case Study: SyncSwap
      • Case Study: Venus Protocol
      • Case Study: PancakeSwap
      • Case Study: Koi Finance
      • Case Study: Nodle
      • Case Study: Click
      • Case Study: Ebisu's Bay
      • Case Study: Mithraeum
      • Case Study: Gravita
      • Case Study: Router Nitro
    • UI Ideas
    • Audits
  • Permissionless Multi-signer Paymaster
    • About
    • How to set up?
    • Technical Details
    • Permissionless paymaster contract
    • Audits
  • ZFI & stZFI
    • Tokenomics
    • First Airdrop
  • Governance
    • Zyfi DAO
    • Association
  • Support
    • FAQ
    • Contract Addresses
    • Brand Assets
    • Mobile work-around
  • Socials
    • Twitter
    • Youtube
    • Discord
    • Telegram
    • Mirror
    • Dune Analytics Dashboard
Powered by GitBook
On this page
  1. Permissionless Multi-signer Paymaster

How to set up?

Less than 1 minute is all it takes to set up your paymaster.

PreviousAboutNextTechnical Details

Last updated 9 months ago

There's just 1 simple step for activation: DApps deposit gas funds and add a signer address in this paymaster through Zyfi's built front-end, completing it all in a single transaction.

(Video)

You can also activate directly using ZKsync explorer by calling depositAndAddSigner() in the contract.

  • ZKsync Mainnet :

  • Sepolia Testnet :

The depositor address of the Dapp is the 'Manager' and the added signer address is the trusted 'Signer' whose signature will be verified for sponsorship in the paymaster to use the manager’s gas funds for the user.

The Dapp’s Manager can add or remove multiple 'Signers' as per requirement.

Below diagram explains how the permissionless paymaster works with your DApp:

  • A manager can have multiple signers.

  • All added signers will have access to the gas funds deposited by the manager.

  • In fact, a manager can be a signer address as well.

As a Dapp, you have nothing to handle except for funds added to the paymaster contract and any custom logic you want to apply.

Zyfi At The Rescue

As a Dapp, you should have your own signer or delegate the signing part to Zyfi's API. You can easily integration Zyfi's API .

This paymaster can be integrated with Zyfi API as well. There are many Dapps who do not need a backend server just for paymaster. In that scenario, a Dapp can always delegate the "signer" to the Zyfi API and make call based on the business requirement.

here
Zyfi API
https://explorer.zksync.io/address/0x68b4F1146a863d0E7cF1e134857411C8a941C86d#contract
https://sepolia.explorer.zksync.io/address/0xc1B0E2edC4cCaB51A764D7Dd8121CBf58C4D9E40#contract
ZKsync explorer
Dapp integration flow with permissionless paymaster
Possible relations between signers and manager
Dapps can choose to manage signer or delegate to Zyfi API