project screenshot 1
project screenshot 2
project screenshot 3

Cardano Fusion++

Aiken Validators for Cardano Fusion+ Swaps, a simple swap UI and mock relay and resolvers.

Cardano Fusion++

Created At

Unite Defi

Project Description

This project includes Aiken smart contracts that run on Cardano for HTLC escow to be used with Fusion+ protocol. I have mocked the 1inch endpoints for quotes and submitting orders and forked the @1inch/cross-chain-sdk to allow for custom networks. I made a simple server that given some secrets or orders can resolve orders on the resolver side of the Fusion+ protocol. Shown in the demo video is a small preact UI to demonstrate a user swapping ADA to some other chain.

How it's Made

I used Aiken for Cardano smart contracts, the demo implementation used just happy case unlock and withdraw on expiry, but could easily be expanded with an extra day to support partial fills, custom hooks and gassless permits /w the signed OrderStructV4. The mock relayer and simple resolver is written in Typescript using Hono for the server framework, and viem and LucidEvolution for the cardano and EVM related info. The UI is a vite+preact app, that uses the @1inch/cross-chain-sdk with a custom ethereum adapter to wrap viem for signing.

background image mobile

Join the mailing list

Get the latest news and updates