Skip to content
Skillpedia
APIs & servers (backend)7.0k Β· #13642

smart-accounts-kit

What it does

This skill covers the MetaMask Smart Accounts Kit, which lets dApps create smart accounts, send batched user operations, and request scoped permissions. It explains the three account types and how delegations work, for developers building wallet features.

When to use it

  • βœ“When you want users to have smart accounts with flexible signing options.
  • βœ“When you want a backend bot to act on a user's behalf using delegations.
  • βœ“When you want to request scoped permissions from the MetaMask extension.

Skill link

https://github.com/internet-court/internet-court-skill/blob/main/vendored/metamask/smart-accounts-kit/skill.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/internet-court/internet-court-skill/blob/main/vendored/metamask/smart-accounts-kit/skill.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œI want my dApp to request a limited permission from MetaMask so a bot can act for the user.”

5 new skills a week. 1 minute to read.

How it works

The agent picks the right account type for your app, sets up the signers, and uses the kit to create, sign or redeem delegations and to request permissions. It can also set up gas sponsorship through a paymaster.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

MetaMask Smart Accounts Kit

When to use

  • You want to create ERC-4337 smart accounts (Hybrid, MultiSig, or Stateless7702)
  • You want to send user operations or batch transactions via bundlers
  • You want to configure signers (EOA, passkey/WebAuthn, multisig, wallet client)
  • You want to implement gas abstraction with paymasters
  • You want to create, sign, or redeem delegations (ERC-7710)
  • You want to request Advanced Permissions via MetaMask extension (ERC-7715)
  • You want to build automated backend services (DCA bots, keeper services) using delegations
  • You want to implement session accounts for AI agents or automated trading
  • You want to set up parallel user operations with nonce keys

Installation

npm install @metamask/smart-accounts-kit permissionless

Which smart account type to use

Name Usage
Hybrid A flexible account with EOA, wallet client, and passkey (WebAuthn) signers. The most flexible option for standard dApp users.
MultiSig Requires multiple signers to meet a threshold before transactions execute. Best for treasury, DAO, or shared custody use cases.
Stateless7702 Upgrades an existing EOA to a smart account using EIP-7702 while keeping the same address. Best for users with existing embedded EOAs.

If the user hasn't specified which implementation they need, present the options.

Delegations vs Advanced Permissions

Name Usage
Delegations (ERC-7710) You create, sign, and manage delegations programmatically. The delegator is a smart account you control. You handle the full lifecycle: creation, signing, storage, and redemption.
Advanced Permissions (ERC-7715) You request permissions from a MetaMask user through a human-readable UI in the extension. MetaMask creates and enforces the delegations internally. The user can review and adjust parameters before approving.

Advanced Permissions use delegations under the hood β€” ERC-7715 creates ERC-7710 delegations internally. If the user hasn't specified which to use, present the options.

API references

Use case Reference Workflows
Create a smart account toMetaMaskSmartAccount Create hybrid account, Create multisig account, Create 7702 account
Create a delegation createDelegation Create delegation, Create redelegation
Request ERC-7715 permissions requestExecutionPermissions Request permissions, Redeem β€” smart account, Redeem β€” EOA

Workflows

Use case Workflow
Create a Hybrid smart account Create hybrid account
Create a MultiSig smart account Create multisig account
Create a Stateless7702 smart account Create 7702 account
Create and sign a delegation Create delegation
Create a delegation chain (redelegation) Create redelegation
Redeem a delegation when the delegate is a smart account Redeem delegation β€” smart account
Redeem a delegation when the delegate is an EOA Redeem delegation β€” EOA
Request ERC-7715 Advanced Permissions Request permissions
Redelegate an ERC-7715 permission context Create redelegation for permissions
Redeem ERC-7715 permissions when the session account is a smart account Redeem permissions β€” smart account
Redeem ERC-7715 permissions when the session account is an EOA Redeem permissions β€” EOA

Important notes

  • Always use caveats β€” never create unrestricted delegations.
  • Deploy the delegator first β€” the account must be deployed before redeeming delegations.
  • Function call scope defaults to
FAQ

Which account type suits most dApp users?

The Hybrid account, which supports EOA, wallet client and passkey signers, is described as the most flexible option.

What is the MultiSig account for?

It needs several signers to approve transactions, which suits treasury, DAO or shared custody use cases.

What is Stateless7702?

It upgrades an existing wallet to a smart account while keeping the same address.

Details

Original description by the author

Build dApps with MetaMask Smart Accounts Kit β€” ERC-4337 smart accounts, delegations, and Advanced Permissions (ERC-7715)

repo: internet-court/internet-court-skill

Popularity

GitHub stars
7.0k
Ranking position
#13642
License
β€”
Updated
10/26/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills