SwapYourSuiiii

Seamless cross-chain token atomic swaps between EVM and Sui using 1inch LOP and HTLCs

Unite DefiShipped July 25, 2025Prize winner#defi#payments#infra
Repo
SwapYourSuiiii banner

About

This project enables secure, permissionless cross-chain token ( USDC ) swaps between EVM-based chain and the Sui blockchain using Hashed Timelock Contracts (HTLCs). It allows two parties on separate blockchains to swap assets without trusting a third party, using cryptographic hashlocks and time-based constraints.

The system consists of:

  • 1inch official escrow contracts on base sepolia tesnet EVM to lock ERC-20 tokens with a hashlock and timelock.
  • A corresponding HTLC Move module on the Sui testnet to lock SUI-based coins under the same conditions.

Relayer/Off-chain Service:

  • A relayer built with Next.js and Ethers/Sui SDKs monitors both chains, detects events (like SrcEscrowCreated or DstEscrowCreated ), and facilitates sharing of secrets for claiming or refunding actions .

Swap Flow:

One party locks tokens on chain A with a hash of a secret.

The counterparty uses the same hash to lock tokens on chain B.

When the initiator claims the tokens on chain B by revealing the preimage (secret), the counterparty can use that same preimage to claim on chain A.

If the trade is not completed within the timelock, either party can reclaim their locked assets.

Testnet Simulation:

Fully implemented and tested on Sui testnet and Base Sepolia Testnet.

Includes a working backend relayer to simulate swaps and verify correctness.

This project demonstrates how atomic swaps can work across fundamentally different blockchain architectures (EVM vs. Move) and provides a base for building more advanced cross-chain systems.

Prizes

  • 1inch · Extend Fusion+ to Sui · 5th place

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

SuiCross +

Bi-directional atomic swaps between Ethereum USDC and Sui SUI tokens using HTLC smart contracts

SuiSync

cross-chain swaps between Ethereum and Sui using 1inch Fusion+ with hashlocks & timelocks.