fusion+ extension

Extending 1inch's Fusion+ to Cosmos blockchains to support crosschain swaps.

fusion+ extension

Created At

Unite Defi

Project Description

The main objective is to implement the Fusion+ cross-chain swap standard as mentioned in the white paper(https://1inch.io/assets/1inch-fusion-plus.pdf). To accomplish this we had to implement the HTLC escrow contracts in the Cosmos blockchain as well as create offchain tooling to facilitate communication between the two chains.

How it's Made

Since a cross-chain swap entails two different blockchains, a Cosmos- and an EVM-based chain, the first step we took was to create an orchestration pipeline, meaning when we run the application we want to start two nodes, two block explorers, the offchain components, a database, fund the resolver account and perform other smaller tasks.

Unfortunatelly I wasn't able to finish the project as I planned, some parts are completed and work in isolation but not as a whole system. As of now the following features are implemented:

  • frontend can sign intents, submit to relayer and start auction. During the demo the communication with the relayer was mocked
  • resolver can monitor auction contracts and bid on active auctions
  • dutch auction implementation in both Solidity and cosmwasm
  • HTLC implementation in cosmwasm
  • relayer logic to manage a swap event
background image mobile

Join the mailing list

Get the latest news and updates