Sui <=> EVM swaps on Fusion+ with improved relayer, powered by Noir ZK circuits
SuiEqui is an extension of the 1inch Fusion+ atomic swap protocol for swaps between EVM chains and Sui. This involved developing new Move-based Sui smart contracts to handle escrow creation and transfer functionality, adhering to the hashlock and timelock patterns and the order of execution that Fusion+ implementations follow. Each swap is isolated as its own shared object on Sui, securely holding tokens and safety deposits until the correct secret is revealed or a timeout occurs. Gasless user flows are supported by allowing makers to sign intents off-chain, with resolvers sponsoring execution and receiving the safety deposit as incentive. A custom Node.js relayer watches both chains, verifies escrows, propagates secrets, and finalizes the cross-chain settlement.
We extended 1inch Fusion+ to support atomic swaps between EVM and Sui by developing custom Sui Move smart contracts that replicate Fusion+ escrow behavior using Sui’s object model. Each escrow is a shared object that enforces hashlocks, timelocks, and safety deposits, enabling secure, per-swap isolation. Makers sign gasless tx objects off-chain, and resolvers sponsor and execute the transactions on-chain, with the Move contract reading both the sponsor and depositor directly from tx_context. A custom Node.js relayer coordinates both chains, handles secret propagation, and passes Order + immutable data to the resolvers for cross-chain execution.