Send tokens from any EVM chain to Tezos and vice-versa using 1inch Fusion+
Tesseract is a novel extension for 1inch Cross-chain Swap (Fusion+) that enables swaps between Ethereum and Tezos. It preserves hashlock and timelock functionality for the non-EVM implementation on Tezos and the swap functionality is be bidirectional (swaps are possible to and from Ethereum).
This project works by using an escrow contract on both Ethereum (written in Solidity) and Tezos (written in SmartPy and Ligo) with a filler completing the order from the queued orders.
The Tezos integration follows the same pattern as other non-EVM chains in the 1inch Fusion+ ecosystem:
contracts/src/TezosEscrow.mligo
)The Tezos escrow contract implements the same core functionality as the EVM contracts:
keccak256
for cross-chain consistencyKey functions:
announce_order
: Create new escrow orderfund_dst_escrow
: Fund destination escrowclaim_funds
: Withdraw using secretcancel_swap
: Cancel and return fundsrescue_funds
: Emergency fund recovery