Smart Wallet
An ERC-4337 compliant smart contract wallet supporting multiple owners, passkey and Ethereum address owners, with cross-chain replayability.
Overview
Smart Wallet by Coinbase is a smart contract wallet implementation compliant with ERC-4337, designed to support advanced ownership and cross-chain functionality. It allows an unlimited number of owners, each able to transact independently without requiring approval from others. Owners can be either Ethereum addresses or passkey owners using Secp256r1 public keys, enabling flexible authentication methods including WebAuthn-based passkeys. This wallet is built to optimize calldata costs on Ethereum Layer 2 rollups by using an owner index system for signature verification.
A key feature of Smart Wallet is its cross-chain replayability. Users can sign a single user operation that can be replayed permissionlessly across multiple chains, ensuring consistent updates to ownership or wallet upgrades without needing to re-sign on each chain. This is enabled by a special function that bypasses chain ID validation for certain whitelisted operations, maintaining security while enabling seamless multi-chain management.
The wallet is deployed via the Safe Singleton Factory, which ensures deterministic addresses across hundreds of chains, simplifying multi-chain deployment. Developers can clone the repository and run tests using Forge from Foundry, with deployment facilitated by environment variables for wallet account, RPC URL, and optional Etherscan API keys. The codebase draws from established projects like Solady's ERC-4337 implementation and DaimoAccount, incorporating best practices for passkey integration and upgradeability.
The Problem
Managing smart contract wallets with multiple owners and diverse authentication methods across multiple chains is complex. Users need a way to update ownership and wallet logic consistently without signing separate transactions on each chain.
The Solution
Key Features
ERC-4337 compliance
Implements the Ethereum standard for account abstraction enabling advanced wallet features.
executeWithoutChainIdValidation function
Allows certain wallet functions to be called without chain ID validation to support cross-chain replayability.
Deployment via Safe Singleton Factory
Ensures deterministic wallet addresses across 248 chains for easy multi-chain deployment.
Key Strengths
How Developers Use Smart Wallet
Multi-owner decentralized finance wallets
DeFi teams can use Smart Wallet to manage funds with multiple independent owners, each able to transact without coordination.
Cross-chain wallet upgrades
Users can upgrade wallet logic or update owners once and replay the operation across supported chains without re-signing.
Passkey-based authentication for smart wallets
Developers can integrate WebAuthn passkey support alongside Ethereum addresses for enhanced security and usability.
Works Well With
BNB Smart Chain
Ethereum
Solana
Polygon PoS
Sui

Ship faster than your competition
Free RPC across 75+ chains. Spin up an endpoint in under 30 seconds.
Compare
View Full Comparison| Composability | |||
| Cross-Chain | |||
| Customizability | |||
| Developer Support | |||
| Ease of Integration | |||
| Performance |
Add a related tool
Smart Wallet Alternatives
Explore web3 competitors and apps like Smart Wallet.

Gemini

Ledger Nano X
Crypto.com

Trust Wallet

Embedded Wallet

Smart Accounts

Bitget Wallet

Blockchain.com Wallet

Trezor Safe 5
Immutable X
Pricing
Open Source | |
|---|---|
| Price (Monthly) | Free |
| Price (Annual) | Free |
| Messaging | N/A |
| Support | Community support via GitHub |
| Analytics |
Start Building Now
Reliable RPC, powerful APIs, and zero hassle.
Resources
The Smart Wallet repository includes comprehensive code, deployment instructions, and testing guidance using Foundry. It links to related projects such as webauthn-sol for passkey support and Safe Singleton Factory for multi-chain deployment.