smart-accounts-kit_skill

This skill helps you build and manage ERC-4337 smart accounts, delegations, and advanced permissions with MetaMask, enabling gasless workflows.
  • Python

2.6k

GitHub Stars

2

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill smart-accounts-kit

  • _meta.json838 B
  • SKILL.md25.6 KB

Overview

This skill packages the MetaMask Smart Accounts Kit v0.3.0 for building ERC-4337 smart accounts, delegations, and advanced permission flows. It exposes tools to create Hybrid, MultiSig, and Stateless7702 smart accounts, configure multiple signer types, and integrate gas abstraction with paymasters. The kit includes delegation lifecycle helpers, caveat builders, and Bundler/Wallet client extensions for ERC-7710/ERC-7715 flows.

How this skill works

The kit provides APIs to instantiate smart accounts, sign and aggregate signatures, and produce user operations for bundlers or EOA transactions. It supports creating delegations with scopes and caveats, signing and encoding redemption calldata, and sending user operations with optional delegation context. Integrations include Viem clients, permissionless nonce handling for parallel ops, and extensions that let wallet and bundler clients request and redeem advanced ERC-7715 permissions.

When to use it

  • You want to add ERC-4337 smart account capabilities to a dApp (account abstraction).
  • You need delegations with fine-grained restrictions (spending limits, function-call scopes).
  • You want gasless or sponsored transactions using paymasters and bundlers.
  • You require multisig or hybrid signer setups (EOA, passkey, Threshold multisig).
  • You need ERC-7715 advanced permission requests and delegated redemption flows.

Best practices

  • Always attach caveats to delegations—never create unrestricted delegations.
  • Deploy the delegator environment before attempting to redeem delegations.
  • Validate smart account deployment and user smart-account status before ERC-7715 actions.
  • Use the permissionless SDK or properly encoded parallel nonces to enable concurrent UserOps.
  • Enforce limits and timestamp caveats to reduce risk with delegated permissions.

Example use cases

  • Create a Hybrid smart account for a consumer dApp supporting EOA + passkey signers.
  • Issue a periodic ERC-20 delegation that allows a delegate to transfer up to 10 USDC per day.
  • Build a multisig treasury with threshold signing and aggregate signatures for large transfers.
  • Implement gas abstraction where paymasters sponsor user operations via bundlers.
  • Redeem ERC-7715 permissions from a smart account or EOA to execute token transfers.

FAQ

Use the Hybrid implementation for flexible user experiences combining EOAs and passkeys.

How do I run multiple redeems in parallel?

Use the permissionless SDK to get encoded parallel nonces per key, or manually encode nonce as (key << 64) | sequence.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
smart-accounts-kit skill by openclaw/skills | VeilStrat