StarknetFusion+

Cross-chain atomic swaps between Starknet and EVM via 1inch Fusion+

StarknetFusion+

Created At

Unite Defi

Winner of

1inch

1inch - Extend Fusion+ to Starknet 1st place

Project Description

This project enables secure, non-custodial cross-chain swaps between Starknet and EVM networks using 1inch Fusion+. It implements atomic swaps with timelock and hashlock contracts deployed on both chains, ensuring funds are either swapped or refunded trustlessly.

Users initiate a swap on Starknet or EVM, locking funds under a secret hash. Relayer and resolver listen for swap intents and passes the secret between chains to unlock funds on both sides.

How it's Made

Smart contracts: Starknet Cairo contract implementing HTLC .

Testing: Wrote integration tests using starknet.js and foundry in main.spec.ts to simulate cross-chain swaps end-to-end.

Backend: Node.js relayer listens to swap events and securely transmits secrets. Resolver handles order execution and unlocks funds on both chains. PostgreSQL database tracks pending swaps and secret commitments.

UI: React + Wagmi + starknet-react to create a unified UX for Starknet and EVM users. Users can generate secrets, initiate swaps, and claim funds seamlessly.

background image mobile

Join the mailing list

Get the latest news and updates