use-modular-wallets

Installation
SKILL.md

Overview

Modular Wallets are flexible smart contract accounts (MSCAs) that extend functionality through installable modules. Built on ERC-4337 (account abstraction) and ERC-6900 (modular smart contract framework), they support passkey authentication, gasless transactions, batch operations, and custom logic modules (multisig, subscriptions, session keys). MSCAs are lazily deployed -- gas fees for account creation are deferred until the first outbound transaction.

Prerequisites / Setup

Installation

npm install @circle-fin/modular-wallets-core viem@2.55.11
# Passkey recovery also needs bip39:
npm install bip39

Install the exact viem version the SDK pins (2.55.11 for @circle-fin/modular-wallets-core@1.0.16) so the app and SDK share one viem copy. After an SDK upgrade, re-check with npm view @circle-fin/modular-wallets-core dependencies.

Environment Variables

Write or merge into the project's env file when scaffolding Modular Wallets:

Installs
1.0K
GitHub Stars
171
First Seen
Mar 12, 2026