project screenshot 1
project screenshot 2
project screenshot 3

xSynth Engine

Gasless cross-chain DCA with Cosmos-EVM atomic swaps using 1inch Fusion+ and custom resolvers.

xSynth Engine

Created At

Unite Defi

Project Description

xSynth Engine is a comprehensive cross-chain Dollar-Cost Averaging (DCA) infrastructure that revolutionizes automated trading by extending 1inch's Fusion+ protocol to the Cosmos ecosystem. The project creates a seamless bridge between EVM and Cosmos chains, enabling users to execute gasless, MEV-protected DCA strategies across multiple blockchain networks.

Core Innovation: Cosmos-EVM Fusion+ Extension The heart of xSynth is its novel extension of 1inch's Fusion+ protocol to support Cosmos chains through:

  1. CosmWasm Smart Contracts: Native Cosmos implementation preserving hashlock/timelock functionality
  2. Custom Resolver Architecture: Intelligent cross-chain coordination system that monitors both EVM and Cosmos networks
  3. Bidirectional Atomic Swaps: Secure token transfers from Ethereum ↔ Cosmos using Hash Time-Locked Contracts (HTLC)
  4. Merkle Proof Verification: Trustless validation of cross-chain transactions using cryptographic proofs

Advanced Limit Order Protocol Integration Building on 1inch's Limit Order Protocol, xSynth introduces:

  1. On-chain DCA Strategies: Automated recurring swaps with customizable frequency and amounts
  2. Gasless Execution: Users pay zero gas fees through Privy wallet integration and account abstraction
  3. Cross-Chain Order Routing: Intelligent order splitting across multiple chains for optimal execution

Comprehensive 1inch API Integration The platform leverages the complete 1inch API ecosystem:

  1. Fusion SDK: Gasless, MEV-protected swap execution
  2. Fusion+ SDK: Cross-chain swap routing and coordination
  3. Balance API: Real-time portfolio tracking across all supported chains
  4. Token API: Whitelisted token discovery and metadata
  5. Portfolio API: Historical performance and analytics
  6. Web3 API: Direct blockchain interaction for transaction posting

Supported Networks & Features EVM Chains: Ethereum, Base, Arbitrum, Polygon Cosmos Chains: Cosmos Hub, Secret Network, Osmosis Order Types: Fusion (same-chain), Fusion+ (cross-chain), Custom (Cosmos-specific)

How it's Made

Architecture Overview xSynth Engine consists of four primary components working in concert:

  1. Cross-Chain Bridge Relayer (Rust)
  2. CosmWasm Bridge Contracts (Rust/CosmWasm)
  3. EVM Smart Contracts (Solidity/Foundry)
  4. Frontend DCA Application (Next.js 15/React 19)

Technical Stack & Integration Backend Infrastructure:

  1. Rust: High-performance relayer system with WebSocket monitoring
  2. CosmWasm: Native Cosmos smart contracts for atomic swaps
  3. Solidity + Foundry: EVM contracts with comprehensive testing suite
  4. Redis (Upstash): Distributed scheduling and state management
  5. 1inch Fusion SDK: Core swap execution engine

Frontend & UX:

  1. Next.js 15 + React 19: Modern SSR application with API routes
  2. Privy: Embedded wallets enabling gasless transactions
  3. Viem + Wagmi: Type-safe Ethereum interactions
  4. TanStack Query: Optimistic state management
  5. Tailwind + Radix UI: Professional interface components

Key Technical Innovations

  1. Custom Resolver Pattern The custom resolver monitors both EVM and Cosmos networks simultaneously, coordinating atomic swaps and ensuring transaction finality across chains.
  2. Gasless DCA Execution
  3. HTLC Cross-Chain Atomic Swaps
  4. Merkle Proof Verification

Partner Technology Benefits Privy Wallet Integration:

  1. Account Abstraction: Users experience Web2-like onboarding
  2. Social Login: Email/Google authentication for crypto newcomers
  3. Gasless Transactions: Eliminates friction from gas fee management

Notable Technical Achievements

  1. Zero-Dependency Cross-Chain Coordination Unlike traditional bridges requiring trusted validators, xSynth uses cryptographic proofs and atomic swaps, eliminating counterparty risk.
  2. Universal DCA Protocol The first implementation enabling DCA strategies that span both EVM and Cosmos ecosystems in a single transaction flow.
  3. Intelligent Gas Optimization Smart routing determines whether to use same-chain Fusion or cross-chain Fusion+ based on real-time gas prices and liquidity.
  4. Cosmos-Native Integration Rather than wrapping Cosmos tokens on EVM chains, xSynth maintains native token representations across ecosystems. Development & Testing

The project represents a significant advancement in cross-chain DeFi infrastructure, making sophisticated trading strategies accessible to mainstream users while maintaining the security and decentralization principles of blockchain technology.

background image mobile

Join the mailing list

Get the latest news and updates