Fusion+ Aptos/NEAR
1inch Fusion+ Extension Ethereum and NEAR/Aptos chains using Hash Time-Locked Contracts (HTLC).
Problem Statement
A cross-chain swap extension for 1inch Fusion+ that enables bidirectional swaps between Ethereum and NEAR/Aptos chains using Hash Time-Locked Contracts (HTLC).Features:✅ Bidirectional swaps: ETH ↔ NEAR and ETH ↔ Aptos✅ Hash Time-Locked Contracts (HTLC): With proper hashlock and timelock functionality✅ 1inch Escrow Factory integration: On Ethereum side✅ Custom escrow contracts: For NEAR and Aptos✅ Cross-chain orchestration layer✅ Mainnet and testnet support
Solution
HTLC Flow ┌────────────────────┐ │ │NEAR/Aptos <------------> Ethereum │ │ ▼ ▼ Escrow Factory Contract → 1inch Custom Escrow🔧 Core Technologies 1inch Limit Order Protocol (LOP) – for atomic escrow on Ethereum (Base Sepolia)Hash Time-Locked Contracts (HTLC) – for trustless locking on NEAR and AptosCross-chain orchestration layer – JS orchestrator managing swap flow⛓️ Blockchain Platforms Ethereum (Base Sepolia) – using 1inch for escrow and claimingNEAR Protocol – custom HTLC smart contract (Rust)Aptos – HTLC contract written in Move🧠 Smart Contract Languages Solidity – Ethereum-side integration via 1inchRust – NEAR smart contractsMove – Aptos smart contracts🧰 Libraries & Tools ethers.js – Ethereum smart contract interactionnear-api-js – NEAR RPC and contract integrationaptos (TypeScript SDK) – Aptos account and contract handlingSHA-256 – cryptographic hash function for hashlocks
Hackathon
ETHGlobal Unite
2025
Contributors
- WilliamUW
7 contributions