← Back to home

fusion

Cross-chain swaps using Limit Order Protocol and Fusion+ on Sepolia, Monad and Starknet.

Problem Statement

This project enables trust-minimized cross-chain swaps between multiple chains using a combination of:Limit Order Protocol on EVM-compatible chainsHashed TimeLock Contracts for StarknetPlace or fill orders via LOP.Lock assets on one chain using HTLC.Redeem or refund tokens depending on secret/key revelation.

Solution

EVM Chains (Sepolia, Monad)Integrated 1inch Limit Order Protocol (LOP) for off-chain signed orders.Deployed a custom LOP contract on Monad to replicate Sepolia functionality.Built an Escrow Factory contract to spawn HTLC instances per swap.StarknetDeployed a Cairo-based Factory contract for asset locking and timed refunds.Used scripts + wallet keys from .env to interact directly with the contracts.Swap FlowUser signs an order with LOP on Sepolia/Monad.Counterparty locks funds in an HTLC on Starknet (or Monad).The secret preimage revealed on redemption enables unlocking on the opposite chain.Scripts orchestrate executionInteractive CLI ToolBuilt a command-line interface that lets users initiate and complete swaps interactively.Supports bi-directional swaps between Sepolia ↔ Monad ↔ Starknet.Users can specify custom tokens, amounts, and counterparties without touching contracts manually.Tech stackNode.js CLI with inquirer for prompts and interactive flows.ethers.js for EVM contracts, starknet.js for Starknet.

Hackathon

ETHGlobal New Delhi

2025

Prizes

  • 🏆

    Non - EVM Extensions for 1inch Cross - chain Swap (Fusion+)3rd place

    1inch

Contributors