- Tezos:
We created a cross-chain bridge implementation, which provides a solution for executing 1inch Fusion+ cross-chain orders between Tezos and Ethereum networks.
Features:
- Hashlock and timelock functionality - preserved on the Tezos side to ensure secure cross-chain transactions
- Signature verification - implemented on the Tezos side for validating swap requests
- Bidirectional swaps - token swaps are supported in both directions (Tezos ↔ Ethereum)
- On-chain execution - deployed and tested on Tezos Ghostnet and Local EVM Node
- Resolver server - a lightweight resolver implemented to launch cross-chain order execution
- User interface - console application for easy interaction
Components::
- Smart contracts deployed on both EVM-compatible chains and Tezos
- A resolver service that receives cross-chain orders from clients and executes them on Tezos and Ethereum
- A command-line interface application that allows users to swap tokens between Tezos and Ethereum networks
- Etherlink:
The project integrates Etherlink with 1inch Fusion+ protocol by implementing a custom resolver that enables cross-chain token swaps with automatic routing through Etherlink's DEX aggregator.
Features:
The resolver automatically detects when tokens differ between source and destination chains, calls the Etherlink aggregator API to get optimal swap routes, prepares approve + swap calldata, and executes everything atomically in a single transaction. This enables seamless cross-chain swaps like ETH USDC → Etherlink WBTC with the best available rates.
Components:
- Resolver implementation and testing framework
- Solidity smart contracts extending 1inch's base resolver with arbitraryCalls functionality
- 1inch Cross-Chain SDK for order creation and escrow management
- Custom API integration for swap route optimization on Etherlink
- Tezos
Key technologies:
- Node.js + TypeScript - for type safety and easier debugging across all packages
- CameLIGO - for writing smart contracts on Tezos with strong typing
- prool - for testing EVM contracts locally
- Taquito - for interacting with Tezos blockchain from Node.js
- ethers.js - for handling Ethereum transactions and smart contract calls
- Express - for building a simple API for the resolver service
- @1inch/cross-chain-sdk - for creating and validating cross-chain orders the 1inch way
- Etherlink
Key technologies:
- TypeScript/Node.js for the resolver implementation and testing framework
- Solidity: Enhanced resolver contract with deployDst(targets[], callsData[]) for complex operations
- 1inch Cross-Chain SDK for order creation and escrow management
- Custom API integration for swap route optimization on Etherlink
- Ethers.js for blockchain interactions and transaction handling
Built with comprehensive test coverage using Jest and Prool for local blockchain forking, ensuring reliability for mainnet deployment.