internet-court/internet-court-skill/smart-accounts-kit

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

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

Install

npx vskill@latest install internet-court/internet-court-skill/smart-accounts-kit

SKILL.md

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

bash
npm install @metamask/smart-accounts-kit permissionless

Which smart account type to use

NameUsage
HybridA flexible account with EOA, wallet client, and passkey (WebAuthn) signers. The most flexible option for standard dApp users.
MultiSigRequires multiple signers to meet a threshold before transactions execute. Best for treasury, DAO, or shared custody use cases.
Stateless7702Upgrades 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

NameUsage
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 caseReferenceWorkflows
Create a smart accounttoMetaMaskSmartAccountCreate hybrid account, Create multisig account, Create 7702 account
Create a delegationcreateDelegationCreate delegation, Create redelegation
Request ERC-7715 permissionsrequestExecutionPermissionsRequest permissions, Redeem — smart account, Redeem — EOA

Workflows

Use caseWorkflow
Create a Hybrid smart accountCreate hybrid account
Create a MultiSig smart accountCreate multisig account
Create a Stateless7702 smart accountCreate 7702 account
Create and sign a delegationCreate delegation
Create a delegation chain (redelegation)Create redelegation
Redeem a delegation when the delegate is a smart accountRedeem delegation — smart account
Redeem a delegation when the delegate is an EOARedeem delegation — EOA
Request ERC-7715 Advanced PermissionsRequest permissions
Redelegate an ERC-7715 permission contextCreate redelegation for permissions
Redeem ERC-7715 permissions when the session account is a smart accountRedeem permissions — smart account
Redeem ERC-7715 permissions when the session account is an EOARedeem 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 no native token — use valueLte to allow it.
  • Caveats are cumulative in delegation chains — restrictions stack.
  • ERC-7715 requires MetaMask Flask 13.5.0+ or MetaMask stable 13.23.0+, and the user must have a smart account.
  • Always check that the project builds successfully after making changes.
  • Smart Accounts Kit version: 1.6.0 | Delegation Framework: 1.3.0

Resources

  • NPM: @metamask/smart-accounts-kit
  • Contract deployments: Delegation Framework deployments
  • Docs: https://docs.metamask.io/smart-accounts-kit
  • MetaMask Flask: https://metamask.io/flask

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
6,730
Repository forks
114
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/internet-court/internet-court-skill/smart-accounts-kit/badge)](https://verified-skill.com/skills/internet-court/internet-court-skill/smart-accounts-kit)

Something wrong with this skill or its page? Tell us.