A cross-chain atomic swap protocol enabling secure, trustless swaps between Ethereum and Algorand.
Atomic Swap Coordinator is a cross-chain protocol and coordination tool that enables secure, trustless, and bidirectional atomic swaps between the Ethereum and Algorand networks. It leverages hashlock and timelock logic to ensure funds are safely exchanged without intermediaries or bridge-based custody, following the principles of true atomicity.
This project is purpose-built as an extension to the 1inch Fusion+ ecosystem, offering a novel interoperability path by integrating a non-EVM chain Algorand into the Fusion+ swap model. It acts as a bridge layer where both chains independently verify the swap conditions, ensuring that the swap either completes fully on both chains or not at all.
Atomic Swap Coordinator is built using a modular architecture that combines a modern web stack with secure blockchain integrations across Ethereum and Algorand. The frontend is developed with Next.js 14, using the App Router and TypeScript for scalable, type-safe component rendering. Styling is handled via Tailwind CSS with a custom cyber-inspired theme, paired with fonts like Inter and Space Grotesk for a futuristic, terminal-like look. The backend consists of Next.js API routes that manage key swap functions such as secret generation (/api/generate-secret), session initialization, redemption, gas estimation, and integration with 1inch Fusion+ APIs to fetch live limit orders and extract order secrets. On the blockchain side, Ethereum HTLC contracts are written in Solidity and deployed using Hardhat, supporting SHA-256 hashlocks and timelocks. For Algorand, AlgoKit and Python are used to build stateless LogicSig contracts with equivalent security mechanisms. Transactions for both chains are prepared and served via backend routes, allowing users to execute them manually or via wallet integrations. The app coordinates cross-chain atomic swaps without relying on bridges, with real-time gas tracking, session management, and simulated Fusion+ integration all packaged into a sleek, futuristic interface.