AceSuperSwap
Building a crosshchain resolver on stellar to facilitate ethereum to stellar swaps
Problem Statement
Acesuperswap might be the first working atomic swaps between the Ethereum and Stellar networks, solving the problem of trustless cross-chain asset transfers.The Problem: Current cross-chain bridges are centralized honeypots - over $2 billion stolen in 2022 alone. Users must trust bridge operators with their funds, creating risk.Our Solution: Pure cryptographic atomic swaps using Hash Time-Locked Contracts (HTLCs) with ZERO trusted intermediaries. Either both swaps complete successfully, or both fail - no partial states, no stuck funds, no trust required.Key Innovation: We bridge fundamentally different blockchain architectures:EVM chains use individual escrow contracts per swapStellar uses a singleton factory managing multiple escrows via storage keysOur Bridge links these using universal order_hash identifiers with cryptographic atomicityWhat Makes This Special:Working Implementation of EVM ↔️ Stellar atomic swapsTrue Atomicity: Cryptographic guarantees, not trust-based promisesProduction Ready: Live testnet deployment with comprehensive testingBidirectional: Supports both EVM→Stellar AND Stellar→EVM swaps1inch Integration: Built on proven Fusion+ infrastructure for immediate adoption
Solution
Core Architecture: We built a dual-chain atomic swap system that bridges EVM and Stellar's fundamentally different smart contract models using cryptographic Hash Time-Locked Contracts.Technologies Used:Stellar: Soroban smart contracts in Rust with a factory singleton patternEVM: Solidity escrow contracts integrated with 1inch Limit Order ProtocolTypeScript: Contract bindings and cross-chain orchestration1inch Fusion+ SDK: Production-grade order management and matchingKey Technical Innovations:SAC Admin Architecture Breakthrough The biggest challenge: Soroban contracts can't hold classic Stellar assets due to trustline requirements. We solved this by making our factory contract the SAC (Stellar Asset Contract admin:Cross-Chain State Synchronization Different architectures required innovative linking:EVM: Individual contract per swap with deterministic addressesStellar: Factory storage using order_hash as universal keyBridge: Same order_hash creates a logical link between different storage modelsCryptographic Hash Consistency Ensuring identical hash computation across Rust and Solidity required a bit-level format consistency:Dual Address Mapping Bridging 20-byte EVM addresses with 32-byte Stellar addresses using structured mappingPartner Technology Benefits:1inch Fusion+: Provided battle-tested order management, gas optimization, and MEV protectionStellar Soroban: Enabled efficient factory pattern with persistent storageTypeScript Bindings: Auto-generated from Rust contracts for type-safe interaction, I ran into a lot of xdr and bad union switch errors
Hackathon
ETHGlobal Unite
2025
Prizes
- 🏆
Extend Fusion+ to Stellar3rd place
1inch
Contributors
- FrankiePower
44 contributions