Delegation Toolkit

Build smart accounts with account abstraction, and delight your users with instant signups, zero pop-ups, gasless transactions, and new interactions in your dapps.

Benefits

  • Innovate on new web3 primitives enabled by ERC-4337

    Unlock new capabilities like social coordination-driven growth, or recurring subscription payments while users are offline. MetaMask Delegation Toolkit is open-sourced, modular, and backward compatible. Make your dapps go viral with delegations.

    Innovate on new web3 primitives enabled by ERC-4337
  • Create uninterrupted user experiences

    No more repetitive confirmations, pop-ups, or app-to-wallet switches. Simplify, postpone, or reassign gas fees. Create digital assets instantly. Automate and control precisely the number of clicks your users take in your dapps.

    Create uninterrupted user experiences
  • Instantly onboard your users

    No browser extension wallet, mobile app, or seed phrases needed. Enjoy frictionless onboarding for new users starting out in web3. Tailor exactly how and when your users create, authenticate, and connect with your dapps.

    Instantly onboard your users
  • Build for the largest, most active web3 user base on MetaMask

    Tap into the most active and engaged user base on MetaMask. As you onboard new users, continue to build user-friendly and feature-rich experiences for MetaMask’s millions of monthly active users.

    Build for the largest, most active web3 user base on MetaMask
  • Simplify your smart contract development

    Stop writing custom delegation code in your contracts, and let our flexible, general-purpose framework do the heavy lifting, so you can focus on business logic. Enjoy up to a 95% reduction in smart contract code, minimizing bugs while boosting reliability and security.

    Simplify your smart contract development

Features

  • Account native delegations

    Open source and customizable Delegation Framework. Implement directly or customize further to suit specific needs for your dapps.

  • Flexible account creation and user authorization methods

    Flexible account creation options, compatible with custom and burner EOA signers, third party EOA signers, multisigs, and passkeys. Supports a variety of onboarding and authentication flows such as QR code scans, invite links and email.

  • Custom account recovery paths for your users

    The Delegation Framework is extensible, and supports custom account recovery options. Multiple account recovery mechanisms including social recovery or delegation.

  • Innovative gas handling

    A toolkit to help you build for an ERC-4337 compliant account. Works with any third party bundler or paymaster. Delegation offers the added capability of gas deferral, and gas-free, instant asset, and account creation.

  • Compatible with platforms

    Available in Wagmi connector library and custom Viem client library. Integration made easy, whether you are building a React project, or in any JavaScript or Node.js environment.

  • All the EVM chains

    MetaMask Delegator Toolkit works on any EVM chain that has a compatible bundler.

Use cases

  • Social and P2P

    Empower users to evangelize your dapp through peer-to-peer invites. Bring to life frictionless user onboarding, and provide token gated rewards. Own your dapp’s experience, without third party logos breaking your brand’s web3 user journey.
    Social and P2P Illustration
  • Gaming

    Building a web3 experience that needs to mint millions of assets and onboard many users? Don’t worry about costs. You can defer, and reassign the payment of gas fees for these assets to match your unit economics.
    Gaming Illustration
  • Creator marketplaces

    State of the art web3 experiences need to abstract away gas fees for users. Creators can list their collections for sale without having to pay any gas fees. Imagine if gas fees only happen when a sale takes place. Fees can be subsidized by anyone with any token.
    Creator marketplaces illustration

Frequently Asked Questions

Let’s talk about Standards