About
**MultiZap** is a fully-functional prototype for **cross-chain Dutch-auction-based atomic swaps** between **EVM (Ethereum Sepolia)** and **Starknet (Sepolia)**.
It extends the [1inch Fusion+](https://1inch.io/fusion/) architecture by enabling **trustless token swaps between L1 and L2 chains**, powered by off-chain agents and HTLC smart contracts. Users can swap tokens (like USDC) across Ethereum and Starknet without relying on centralized bridges or custodians.
At the heart of the system is a **Dutch auction mechanism** that allows resolvers (off-chain liquidity providers) to bid competitively on user-submitted swap orders. The winning resolver deposits liquidity on both chains into time-locked, hash-locked escrows. This ensures a **trust-minimized atomic swap**, where either both sides are executed or none are.
---
### π§© System Components
- π **Smart Contracts** on both Ethereum and Starknet:
- HTLC escrow contracts
- Escrow factory contracts for deterministic deployments
- π° **Relayer Service** (Node.js backend):
- Manages order book
- Runs Dutch auctions
- Exposes APIs for frontend and resolvers
- π **Resolver Bot**:
- Computes bids for Dutch auctions - Deploys escrows on both chains - Coordinates settlement and secret revelation
- π» **Frontend DApp**:
- Allows users to create cross-chain swap orders - Tracks order and escrow status - Interacts with relayer and wallet providers (Metamask, ArgentX)
---
### π Why It Matters
- β **No Bridges**: Swaps are native and require no centralized bridge.
- π **Fully Trustless**: Uses hash-locked and time-locked escrows to ensure atomicity.
- π§ **Composable**: Resolver and relayer logic are modular and extendable to any token or chain.
- βοΈ **1inch Fusion+ Upgrade**: Makes existing L1 DEX infrastructure usable for Starknet β Ethereum flows.
---
### π Example Use Case
> Alice wants to swap 100 USDC from Ethereum to Starknet. She places a swap order using the frontend. > The relayer runs a Dutch auction for resolvers to compete in fulfilling her swap. > The winning resolver deposits 100 USDC on Starknet and locks 100 USDC on Ethereum in an HTLC. > Alice claims her funds on Starknet by revealing a secret, which the resolver then uses to claim their funds on Ethereum.
From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.






