본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)7.0k · #13642

smart-accounts-kit

하는 일

이 스킬은 dApp이 스마트 계정을 만들고, 묶음 사용자 작업을 보내고, 범위가 정해진 권한을 요청하도록 하는 MetaMask Smart Accounts Kit를 다룹니다. 세 가지 계정 유형과 위임의 작동 방식을 설명하며, 지갑 기능을 만드는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓사용자가 유연한 서명 방식을 갖춘 스마트 계정을 쓰게 하고 싶을 때.
  • ✓위임을 이용해 백엔드 봇이 사용자를 대신해 행동하게 하고 싶을 때.
  • ✓MetaMask 확장 프로그램에 범위가 정해진 권한을 요청하고 싶을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

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.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“dApp에서 봇이 사용자를 대신할 수 있도록 MetaMask에 제한된 권한을 요청하게 해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 앱에 맞는 계정 유형을 고르고, 서명자를 설정하며, 키트로 위임을 만들고, 서명하고, 사용하거나 권한을 요청합니다. 페이마스터를 통한 가스 대납도 설정할 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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
자주 묻는 질문

대부분의 dApp 사용자에게 맞는 계정 유형은 무엇인가요?

EOA, 지갑 클라이언트, 패스키 서명자를 지원하는 Hybrid 계정이며, 가장 유연한 옵션으로 설명됩니다.

MultiSig 계정은 무엇에 쓰나요?

트랜잭션을 승인하려면 여러 서명자가 필요하므로, 재무, DAO, 공동 보관 용도에 맞습니다.

Stateless7702는 무엇인가요?

기존 지갑의 주소를 유지하면서 스마트 계정으로 업그레이드합니다.

상세 정보

작성자의 원본 설명

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

repo: internet-court/internet-court-skill

인기도

GitHub 스타
7.0k
순위
#13642
라이선스
—
업데이트
2026. 10. 26.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬