wallet-evm-erc-4337
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
Supported Networks
This package works with any EVM-compatible blockchain, including:
Ethereum Mainnet
Ethereum Testnets (Sepolia, etc.)
Other EVM Chains (Polygon, Arbitrum, Plasma etc.)

