smart-accounts-kit

Automate MetaMask smart account workflows with Viem and ERC-7710 delegation.

21|10|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/MetaMask/openclaw-skills --skill smart-accounts-kit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: smart-accounts-kit
Source: https://github.com/MetaMask/openclaw-skills/tree/main/metamask/smart-accounts-kit
Command: npx skills add https://github.com/MetaMask/openclaw-skills --skill smart-accounts-kit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Simplifies building web3 dApps by providing a ready-to-use framework for MetaMask Smart Accounts, enabling developers to implement account abstraction, signing flows, and delegation patterns without starting from scratch.

Core Features & Use Cases

  • Smart account creation and management with multiple implementations (Hybrid, MultiSig, Stateless7702).
  • Send and batch user operations, enabling efficient multi-step workflows.
  • Flexible signer configurations (EOA, passkeys, wallet clients) and gas abstraction via paymasters.
  • Delegation framework and advanced permissions (ERC-7710/ERC-7715) for scalable access control.
  • Viem integration and end-to-end guidance for common Web3 dApp patterns.

Quick Start

Instantiate a Smart Account client, attach or deploy an existing smart account, and begin issuing user operations and delegations.

Frequently Asked Questions about smart-accounts-kit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I batch user operations with ERC-4337 smart accounts?

Batching user operations with ERC-4337 smart accounts requires instantiating a smart account client to bundle multi-step workflows into single transactions. This framework provides the necessary tooling to issue these batched calls efficiently.

Can I use passkeys and WebAuthn as signers for MetaMask smart accounts?

Yes, passkeys and WebAuthn are supported as dynamic signers for MetaMask smart accounts. The framework allows flexible signer configurations alongside standard EOAs and wallet clients to manage signing flows.

What is the Delegation Framework (ERC-7710) for account abstraction?

The Delegation Framework (ERC-7710) for account abstraction enables scalable access control by delegating execution capabilities. It allows developers to implement advanced permissions without building these patterns from scratch.

How do I set up gas abstraction with a paymaster using Viem?

Setting up gas abstraction with a paymaster using Viem involves configuring the smart account client to route transaction fees through a paymaster contract. This framework integrates Viem to facilitate that gas sponsorship process.

Does Viem support MultiSig and Stateless7702 smart account implementations?

Yes, Viem supports various smart account implementations including MultiSig and Stateless7702. The framework provides ready-to-use management for these account types alongside Hybrid implementations.

When do I need advanced permissions (ERC-7715) in my dApp?

You need advanced permissions (ERC-7715) in your dApp when establishing granular, scalable access control over delegated operations. This standard works with the delegation framework to secure user operations.