Wallet EVM ERC-4337 Overview
Overview of the @tetherto/wdk-wallet-evm-erc-4337 module
A simple and secure package to manage ERC-4337 compliant wallets for EVM-compatible blockchains. This package provides a clean API for creating, managing, and interacting with account abstraction wallets using BIP-39 seed phrases and EVM-specific derivation paths.
Features
- BIP-39 Seed Phrase Support: Generate and validate BIP-39 mnemonic seed phrases
- EVM Derivation Paths: Support for BIP-44 standard derivation paths for Ethereum (m/44'/60')
- Multi-Account Management: Create and manage multiple account abstraction wallets from a single seed phrase
- ERC-4337 Support: Full implementation of ERC-4337 account abstraction standard
- UserOperation Management: Create and send UserOperations through bundlers
- Message Signing: Sign and verify messages using EVM cryptography
- ERC20 Support: Query native token and ERC20 token balances using smart contract interactions
- TypeScript Support: Full TypeScript definitions included
- Memory Safety: Secure private key management with memory-safe HDNodeWallet implementation
- Bundler Integration: Support for ERC-4337 bundler services
- Gas Optimization: Paymaster support and gas estimation for UserOperations
- Fee Estimation: Dynamic fee calculation with bundler-aware estimation
- EIP-712 Typed Data Support: Sign and verify EIP-712 structured typed data
- Batch Token Balance Queries: Query multiple ERC20 token balances in a single call
Supported Networks
This package works with any EVM-compatible blockchain, including:
- Ethereum Mainnet
- Ethereum Testnets (Sepolia)
- Other EVM Chains (Polygon, Arbitrum, Avalanche C-chain, Plasma etc.)
Next Steps
Node.js Quickstart
Get started with WDK in a Node.js environment
WDK EVM with ERC-4337 Wallet Configuration
Get started with WDK's EVM with ERC-4337 Wallet configuration
WDK EVM with ERC-4337 Wallet API
Get started with WDK's EVM with ERC-4337 Wallet API
WDK EVM with ERC-4337 Wallet Usage
Get started with WDK's EVM with ERC-4337 Wallet usage