SuiFused
1 inch fusion+ cross chain swap extension for the Sui blockchain
Problem Statement
SuiFused is a 1-inch Fusion+ extension that powers seamless, trustless swaps between Ethereum, Sui), a factory pattern for dynamic escrow deployment, and an on-chain Dutch auction for efficient order filling. A unified resolver API orchestrates contract deployment, secret distribution, and cross-chain settlement—letting developers integrate secure, end-to-end atomic swaps without worrying about network-specific complexity. Using the advanced LOP protocol for creating/filling the orders.
Solution
SuiFused’s cross-chain swap logic is built on three specialized on-chain modules and a single off-chain “resolver” API that glues everything together. On Sui, we use Mysten’s official Sui SDK to implement a pair of contracts: a time-locked HTLC escrow that securely holds funds until the swap secret is revealed, and a Factory contract that can spin up new HTLC instances on demand with custom parameters such as amount, expiry, and hashlock. Building in Sui provides strong type safety, native performance, and deep integration with the Move-based object model and parallel execution runtime.For Ethereum, we adapted the escrow contracts directly from 1inch’s Cross-Chain suite, modifying them to fit SuiFused’s order and auction schema. These Solidity contracts support both single-secret withdrawals and batch settlements, ensuring maximum gas efficiency and compatibility with existing tooling.Off-chain coordination is handled by the resolver service, which exposes a simple REST API. To initiate or fill an auction order, it calls POST /auction/start or POST /auction/fillOrder on the source chain. Once an order is accepted, the resolver calls POST /deploy/evm or POST /deploy/sui to create the corresponding escrow on the destination chain. It then listens for on-chain secret-reveal events and, when ready, finalizes the swap by invoking POST /withdraw/evm or POST /withdraw/sui.By combining Sui’s Move-based contracts with 1inch-inspired Solidity escrows under one orchestrating API, SuiFused delivers a turnkey, end-to-end solution for secure, customizable atomic swaps across Ethereum and Sui.
Hackathon
ETHGlobal New Delhi
2025