1inch-apt-bridge
AptosBridge — 1inch Fusion+ powered bidirectional atomic-style swaps between Ethereum and Aptos
Problem Statement
AptosBridge integrates 1inch Fusion+ orders with an Aptos Move escrow so users can swap tokens both Ethereum → Aptos and Aptos → Ethereum. On EVM we use the Limit Order Protocol flow and call fillOrderArgs / relevant escrow functions to lock and release funds; on Aptos we deploy a Move escrow module that enforces the same keccak256(hashlock) checks and timelocks. A relayer/resolver service watches Fusion+ orders, coordinates escrow creation, securely handles preimages, and executes withdrawals on both chains. The demo shows live on-chain deposits and withdrawals on Ethereum and Aptos, and full bidirectional flows with timeouts and cancellations.
Solution
EVM escrow & order — Maker creates a Limit Order Protocol order and deposits tokens; resolver uses fillOrderArgs to lock/claim per Fusion+ semantics.Aptos Move escrowRelayer / Resolver serviceBidirectional supportKeccak on Aptos — include a keccak256 implementation or precompiled helper in Move so keccak256(preimage) == hashlock is verifiable on-chain.Timeouts & safety — set expiry deltas per Fusion+ guidelines (expiry_B and expiry_A offsets), implement idempotent withdraw/cancel, reorg handling, retry logic.Git discipline — iterative commits for each task (feature/escrow/move-module/relayer/tests/demo), PRs for merges, and final history with meaningful commits (no single-commit dump).
Hackathon
ETHGlobal New Delhi
2025
Contributors
- Aditey1908
20 contributions
- ManavLohabade
20 contributions
- t-phoenix
16 contributions
- zeel991
9 contributions
- abhinil97
1 contributions