Overview • Scope • Setup • License
This repository demonstrates how to build automated DeFi vaults on Ethereum using Mimic as the execution and automation layer.
In this example, vaults execute predefined strategies such as:
- Periodic rebalancing
- Yield optimization
- Conditional execution based on market state
The application does not implement:
- Automation schedulers
- Conditional execution engines
- Multi-step transaction orchestration
- Execution retries and failure handling
- Gas management or native token funding
- RPC connections or oracle integrations
Mimic handles execution by:
- Triggering strategy execution based on defined conditions
- Coordinating multi-step transactions
- Managing retries and execution failures
- Handling gas payment and transaction submission
This allows vault implementations to focus on strategy definition while delegating automation and execution complexity to Mimic.
Ethereum is used as the reference execution environment for this example.
Mimic supports execution across multiple chains and environments. The same vault execution model can be applied to other supported networks without changes to execution orchestration.
To set up this project you'll need git and yarn installed.
From your command line:
# Clone the repository
git clone https://github.com/mimic-fi/automated-vaults-with-mimic
# Enter the repository
cd automated-vaults-with-mimic
# Install dependencies
yarnMIT
Website mimic.fi · Docs docs.mimic.fi · GitHub @mimic-fi · Twitter @mimicfi · Discord mimic