🚀 New Features
🌾 Yield Optimizer
- Cross-protocol APY comparison via DeFiLlama API
- Auto-compound rewards when above threshold
- 6 supported protocols: Aave V3, Compound V3, Morpho, Lido, Rocket Pool, Fluid
- Risk assessment (LOW/MEDIUM/HIGH)
- Portfolio summary with P&L tracking
👛 Multi-Wallet Manager
- Create/import multiple wallets
- Wallet groups and tags for organization
- Batch send (native + ERC20) with delay control
- Consolidated portfolio view across all wallets
- Fund consolidation to single target wallet
- Export addresses (JSON/CSV)
🔌 Plugin System
- Abstract Plugin base class with lifecycle hooks
- PluginRegistry for discovery and management
- PluginManager with agent lifecycle integration
- Hooks: on_transaction, on_block, on_price_update, on_startup, on_shutdown
- Discovery: local directories, Python entry points, manual registration
- Example plugin: GasTrackerPlugin
📊 Stats
- 66 tests passing
- 42% coverage
- 13 examples
- 3 new modules (yield_optimizer, multi_wallet, plugins)
📦 Install
pip install web3-agent-kit==0.4.0