SuiFlow
Cross-chain ETH-SUI swap interface using 1inch LOP and state channels
Problem Statement
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).
Solution
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.
Hackathon
ETHGlobal Unite
2025
Contributors
- 0xvinit
41 contributions
- Hiralvala563
1 contributions