Smooth Swap UI between EVM and Sui through Fusion+, make Defi cross each chain.
๐ Features ๐ Cross-Chain Atomic Swaps BSC โ Sui bidirectional token swaps Hash Time-Locked Contracts (HTLC) for security Atomic execution with automatic rollback on failure Multi-timelock system for progressive unlocking ๐ Advanced OrderPool System Competitive bidding mechanism for resolvers On-chain order matching with automatic execution Fusion+ compatible order hash calculation Real-time order tracking and management ๐ก๏ธ Security & Trust Cryptographic proofs with secret revelation Maker signature verification for order authenticity Immutable order parameters with ObjectID binding Timelock protection against malicious activities ๐ฏ Developer Experience Full TypeScript SDK for both BSC and Sui React components for easy UI integration Comprehensive testing suite with mock environments Real-time progress tracking and error handling
This project folk fusion+ resolver example to implement Sui version cross chain swap. ๐ ๏ธ Tech Stack Blockchain ๐ BSC: Solidity smart contracts with Hardhat ๐ Sui: Move smart contracts with Sui CLI ๐ HTLC: Hash Time-Locked Contract implementation ๐ฏ EIP-712: Typed data signing (BSC) / BCS serialization (Sui) Frontend โ๏ธ Next.js 14: React framework with App Router ๐จ Tailwind CSS: Utility-first styling ๐งฉ shadcn/ui: Modern component library ๐ Wagmi: Ethereum React hooks ๐ Sui dApp Kit: Sui React components Development ๐ TypeScript: Full type safety ๐งช Vitest: Fast unit testing ๐ ESLint + Prettier: Code quality ๐ฆ pnpm: Fast package management