Fission
A novel extension for 1inch Cross-chain Swap (Fusion+) that enables swaps between Ethereum and Sui.
Problem Statement
We extended the 1inch Fusion+ API to the Sui blockchain by implementing a custom resolver contracts in move language, relayer, and escrow smart contracts. Our system supports bidirectional swaps, enabling users on Sui to both initiate and fulfill cross-chain orders. We use timelocks and hashlocks within our escrow contracts to secure funds during execution. The architecture supports both full and partial order fills, allowing for flexible and efficient liquidity matching directly on-chain.
Solution
Our project extends the1inch Fusion+ APIto support theSui blockchain, enabling users to initiate and fulfill cross-chain orders directly from Sui. To achieve this, we developed smart contracts inMove, including a customresolverandescrowcontracts. These contracts implementtimelockandhashlockmechanisms to securely manage funds throughout the order lifecycle and support both full and partial order fills for flexible liquidity matching.Therelayer, implemented inGolang, serves as the backbone of cross-chain communication. Its concurrent architecture allows it to efficiently coordinate escrow deployments, secret revelations, and order fulfillment events. The off-chain component of the resolver is written inTypeScript, usingEthers.jsto interact with EVM-compatible chains and theMysten Labs Sui SDKfor Sui interactions. Real-time communication between the relayer and resolver is established viaWebSockets, ensuring synchronized execution across all components.A key part of the implementation involved forking and extending theFusion+ cross-chain order SDK, which originally only supported EVM and Solana. We introduced new logic and data structures to handle Sui-specific elements such asOrders,Addresses, and hashing algorithms. This deep integration allows Sui to participate natively in Fusion+’s cross-chain liquidity ecosystem.The frontend is built usingViteandTypeScript, offering a responsive interface for users to create, manage, and track cross-chain orders. Overall, the project demonstrates a modular, extensible approach to integrating emerging blockchains into existing cross-chain infrastructure.
Hackathon
ETHGlobal Unite
2025
Contributors
- Ericselvig
39 contributions
- Suryansh-23
37 contributions
- naman1402
35 contributions