project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5
project screenshot 6

FlashFi

A flash loan enabled multi sig that enables DAO treasury to earn yield

FlashFi

Created At

ETHGlobal Bangkok

Winner of

Blockscout - Blockscout Explorer Big Pool Prize

Prize Pool

Celo - Best Open-Source Tool Built on Celo L2 2nd place

Rootstock - Best DeFi dApp on Rootstock

LayerZero - Best Omnichain Solution 2nd place

Project Description

We provide cross-chain flash loan services for DAO organizations and offer multisig services to enhance their decentralization. By leveraging LayerZero OApp and OFT, we enable cross-chain flash loan transactions. Users can initiate flash loan transactions on the target chain from the source chain, where the target chain contracts interact with DEXs to generate profits for the users. Tokens can then be transferred back to the source chain via cross-chain mechanisms. Our cross-chain flash loan solution supports multiple chains, including Base, Arbitrum, Mantle, and Scroll. Additionally, with XMTP, we built an AI agent that can create multisig wallets for DAOs, further enhancing their operational efficiency.

How it's Made

Our project leverages cutting-edge cross-chain and blockchain technologies to deliver seamless flash loan services for DAOs, paired with multisig solutions to enhance decentralization. Here's how we built it:

Technologies Used:

LayerZero OApp & OFT: We used LayerZero's omnichain messaging protocol to enable secure and efficient cross-chain communication, with OFT handling token transfers across Base, Arbitrum, Mantle, and Scroll chains.

XMTP: XMTP was integrated to build an AI-powered agent capable of creating multisig wallets, allowing DAO members to coordinate securely through wallet-to-wallet communication. Solidity: Smart contracts were developed in Solidity for token management, flash loan execution, and staking functionalities.

How It Works:

Flash Loans: Users initiate flash loans on the source chain through LayerZero OApp. The payload is decoded on the target chain, where the contracts interact with DEXs to execute profitable trades.

Profit Staking: Profits (e.g., USDT) are staked in our OFT-enabled contract, allowing seamless minting of 1:1 OFT tokens on the source chain.

Multisig Wallet Creation: XMTP’s decentralized messaging ensures DAO members securely create and manage multisig wallets with our AI agent.

Hacky Solutions:

Cross-Chain Arbitrage Logic: We implemented a novel mechanism to synchronize arbitrage opportunities across chains in near real-time.

Dynamic Gas Optimization: Gas costs were dynamically adjusted based on chain-specific metrics to ensure cost-efficiency without compromising performance.

Partner Technologies:

LayerZero’s protocol was instrumental in simplifying the complexities of cross-chain communication, allowing us to focus on user experience.

XMTP provided secure and decentralized communication, making the multisig setup seamless for DAOs.

This project showcases innovative use of blockchain interoperability, decentralized communication, and AI to solve real-world DAO challenges.

background image mobile

Join the mailing list

Get the latest news and updates