--defi), and the underlying Trails routing. No multisig coordination, no DEX UI, no signature-collection step.
Who this is for:
- Treasurers at platforms running agent fleets with weekly or monthly disbursement cycles
- Crypto-native businesses holding USDC working capital
- Operations teams looking for predictable yield on operating reserves
How it works
The wallet must be created with--defi (or with explicit --contract flags listing the pool and the asset token) so the smart wallet can interact with Aave v3, Morpho, and ERC-4626 vaults without re-approval. Without that, deposit and withdraw fail at dry-run with a session-rejection error.
Get started
Two CLI commands drive the cycle:deposit into the highest-TVL pool by default (override with --protocol aave or --protocol morpho), and withdraw --amount max for a clean exit before the next disbursement run. Both are dry-run by default.
Install
--defi flag is required at wallet creation so the smart wallet can interact with Aave v3, Morpho, and ERC-4626 vaults without re-approval. Without it, deposit and withdraw fail at dry-run.
Drive it from an LLM
Run the commands directly
Implementation
Swaps and yield
Full reference for
deposit, withdraw, and swap against Trails earn pools.Setup and wallets
Pass
--defi at wallet creation to enable yield operations.Trails
The underlying earn-pool router.