
Cross-chain Vault
Invest in chain B from chain A
Demo
About
The problem it solves The contracts are a modular component that abstracts away cross-chain investments, leveraging the ERC-4626 standard and always having in the source chain a representation of the assets that are deployed in the target chain. This second point, the accountability in the source chain of the investment in the target chain, is critical for some use cases, like treasury management or for cross-chain diversified vaults. Other existing solutions are overbloated with features and too complex. Instead, this solution focuses on simplicity and solves the cross-chain investment in just 327 lines of code. On top of them, it's easy to develop different use cases, like cross-chain diversified investment using account-abstraction, or treasury management, integrating them with Safe and Zodiac modules.
How it's made
Challenges we ran into The main challenge was a lack of time... A few things are missing: - Error handling - Reprocessing of messages - Example use cases