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

Interoperable Swaps

Extending Fusion+ to Tezos Ecosystem with Smartpy based Contracts

Interoperable Swaps

Created At

Unite Defi

Project Description

1Inch Fusion+ is a novel concept which helps in connecting blockchains using the simple concepts of TimeLocks and HashLocks. This project plans to extend Fusion+ to Tezos Ecosystem by following the similar underlying concept of security and development pattern. The Project has deployed a set of contracts on Tezos Ghostnet and Ethereum Sepolia Tesnet.

How it's Made

The project leverages the Tezos Smart Contracts Language functionality to extend 1inch Fusion+. I have written the smart contracts in SmartPy (Python Like Language) which compiles down to Michelson. Since, Tezos Protocol supports keccak256 hashing, the system wouldn't have to store additional hashing data. These contracts have followed the similar design pattern to Escrow Factory Contracts whereby a new contract is deployed for each escrow swap. All the scenarios of timelocks have been added to the contracts such as SrcWithdrawl, SrcPublicWithdraw, DstPublicWithdrawal in a similar pattern to 1inch contracts for ease of understanding. These contracts have been tested with a forked mainnet as well with a deployment of 1inch Contracts on Eth Sepolia.

Since, Tezos follows a different method for packing data, the limit order contract is adjusted to store similar data in different packing format for messaging signing. These contracts support 2 different format of tokens know as FA1.2 and FA2 token contract format for facilitating trades.

background image mobile

Join the mailing list

Get the latest news and updates