project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5
project screenshot 6

SwapTezos

Cross‑chain swaps between Ethereum and Tezos powered by 1inch Fusion+.

SwapTezos

Created At

Unite Defi

Project Description

SwapTezos is a cross-chain application that enables atomic swaps between the Ethereum and Tezos blockchains. It extends the functionality of 1inch's Fusion+ protocol, which is native to Ethereum, to the non-EVM Tezos ecosystem.

The core principle is to allow users to transfer assets seamlessly between Ethereum and Tezos. For example, a user can swap ETH on Ethereum for XTZ on Tezos in a single, unified transaction. This is achieved through a trustless process using Hashed Timelock Contracts (HTLCs) on the Tezos side, which ensures that the swap either completes successfully on both chains or is safely refunded to all parties, eliminating the risk of losing funds mid-transfer.

The project leverages the deep liquidity and gasless order-filling mechanism of 1inch Fusion+ on Ethereum while introducing custom smart contracts on Tezos to facilitate the cross-chain link.

How it's Made

Architecture: At its core, the system ties 1inch Fusion+ orders on Ethereum to custom HTLC contracts on Tezos.

Ethereum: No new contracts; we integrate directly with 1inch Fusion+ Limit Orders via their SDK. Tezos: A SmartPy HTLC escrow contract handles Tezos side funds and timelocks.

Key Mechanism: Order Initiation: The backend creates a 1inch Fusion+ limit order on Ethereum.

Resolver Service: Watches 1inch for orders with our metadata; once filled, it deploys and funds the matching HTLC on Tezos.

Atomic Settlement: A relayer coordinates secret revelation so funds are released on both chains or refunded safely if timeouts occur.

Blockchain Integration: Ethereum: 1inch Fusion+ SDK + ethers.js Tezos: Taquito library for contract deployment + Beacon SDK for wallets

Backend: A Node.js/TypeScript server orchestrates the swap flow, manages the resolver/relayer services, and persists state in PostgreSQL. Frontend: Built with Next.js 15, TypeScript, Tailwind, and shadcn/ui. Wallets: Wagmi/RainbowKit for Ethereum, Beacon for Tezos.

background image mobile

Join the mailing list

Get the latest news and updates