fusion swap
A cross-chain atomic swap protocol enabling secure, trustless swaps
Problem Statement
FusionSwap enables secure, atomic swaps between multiple blockchain networks including Bitcoin, Ethereum, Tron, and TON. The protocol leverages hashlock and timelock mechanisms (HTLC) on both EVM and non-EVM chains, ensuring trustless and atomic settlement. Users can create intent-based orders on any supported chain, which are matched and executed via off-chain relayers and the 1inch Fusion+ resolver network. The system supports partial fills, competitive price discovery through Dutch auctions, and is designed to be extensible for additional chains and order types
Solution
Key Features:Multi-Chain Support: Bitcoin, Ethereum, Tron, TON blockchain integrationHTLC Implementation: Complete HTLC script generation with P2SH and P2WSH support1inch Fusion+ Integration: Seamless cross-chain swaps using 1inch's resolver networkTest-Driven Development: 74 comprehensive tests covering unit, integration, and end-to-end scenariosLocal Testnet Environment: Docker-based Bitcoin testnet node and faucet for developmentCompetitive Pricing: Dutch auction mechanism for optimal price discoverySecurity Features: RBF support, dust protection, double-spend prevention, and adversarial testingBlockers:Implementing resolver-enabled partial fills for large ordersCompetitive price discovery via Dutch Auction mechanism optimizationAutomated execution through the Resolver Network with enhanced reliabilityProduction deployment and mainnet integration across all supported chainsAdditional blockchain support and cross-chain liquidity optimizationPublic URL:http://fusionswap.es/Technical Stack:Frontend: Next.js 15, React 18, TypeScript, Tailwind CSS, shadcn/ui componentsBlockchain: Bitcoin (bitcoinjs-lib), Ethereum (ethers.js), Tron (tronweb), 1inch Fusion+ SDKTesting: Jest, comprehensive test suite with 74 passing testsInfrastructure: Docker, Bitcoin testnet node, automated deployment scriptsPackage Manager: pnpm (as per repository rules)
Hackathon
ETHGlobal Unite
2025
Contributors
- saremeskandary
85 contributions
- bitnician
3 contributions