fusion

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

fusion

Created At

ETHGlobal New Delhi

Winner of

1inch

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

Project Description

This project enables trust-minimized cross-chain swaps between multiple chains using a combination of:

  • Limit Order Protocol on EVM-compatible chains
  • Hashed TimeLock Contracts for Starknet
  1. Place or fill orders via LOP.
  2. Lock assets on one chain using HTLC.
  3. Redeem or refund tokens depending on secret/key revelation.

How it's Made

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.

Starknet

  • Deployed a Cairo-based Factory contract for asset locking and timed refunds.
  • Used scripts + wallet keys from .env to interact directly with the contracts.

Swap Flow

  • User 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 execution

Interactive CLI Tool

  • Built 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 stack

  • Node.js CLI with inquirer for prompts and interactive flows.
  • ethers.js for EVM contracts, starknet.js for Starknet.
background image mobile

Join the mailing list

Get the latest news and updates