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

SuiFlow

Cross-chain ETH-SUI swap interface using 1inch LOP and state channels

SuiFlow

Created At

Unite Defi

Project Description

SuiFlow is a modern, modular cryptocurrency swap interface that enables cross-chain swaps between ETH on Arbitrum Sepolia and SUI tokens. The core innovation lies in the resolver mechanism, where users initiate swaps on their source chain (e.g., ETH on Arbitrum) and resolvers on the destination chain (Sui) provide the corresponding tokens. This creates a seamless cross-chain experience without requiring users to directly interact with multiple blockchains. It integrates with the 1inch Price API for real-time token prices and includes sophisticated swap logic that handles WETH wrapping/unwrapping, cross-chain escrow creation, and interactions with the 1inch Limit Order Protocol (LOP).

How it's Made

SuiFlow is built using Next.js, TypeScript, and Tailwind CSS with a component-based architecture. The resolver system is the technical backbone, where a ResolverService class manages Sui balances and interacts with smart contracts. Users initiate swaps on their source chain, and resolvers on the destination chain provide the corresponding tokens, creating a seamless cross-chain experience.

background image mobile

Join the mailing list

Get the latest news and updates