10inch

Expanding 1inch Fusion Plus Swaps to 10 Non-Evm Chains with the partial filling enabled.

10inch

Created At

Unite Defi

Project Description

10inch is a universal cross-chain DEX that breaks down the barriers between isolated blockchain ecosystems. In today's fragmented DeFi landscape, users are forced to navigate complex bridges, wrapped tokens, and centralized exchanges just to move assets between chains. We've built a solution that makes cross-chain swaps as simple as same-chain trades.

Our platform extends 1inch's revolutionary Fusion+ protocol to create a unified liquidity network across 10 major blockchains. Users can now swap tokens directly from Aptos to Stellar, from TON to Cardano, or between any combination of our supported chains—all through atomic swaps that guarantee either the trade completes fully or nothing happens at all. No more bridge hacks, no more wrapped token risks, no more trusting intermediaries.

The magic happens through our network of specialized smart contracts deployed across each blockchain, all speaking the same "language" of hash time-locked contracts (HTLCs). When you initiate a swap, our system automatically finds the best route, handles all the complex cross-chain coordination, and delivers your tokens on the destination chain—usually within minutes. The entire process is trustless, transparent, and secured by cryptographic proofs.

What makes 10inch special is that it's not just about connecting Ethereum to other chains—it's about creating a truly interconnected DeFi ecosystem where every blockchain can trade with every other blockchain. We've implemented native smart contracts in Move (Aptos/Sui), Rust (Near/Stellar), FunC (TON), Plutus (Cardano), and more, ensuring optimal performance and security on each platform.

For users, this means:

  • One interface to trade across all major blockchains
  • No wrapped tokens—you always get native assets
  • Atomic guarantees—trades either complete fully or revert
  • MEV protection through 1inch's auction mechanism
  • Gas-optimized with up to 99% lower fees than bridges

For the DeFi ecosystem, 10inch represents the future of truly unified liquidity, where blockchain boundaries become irrelevant and users can freely move value wherever opportunities exist.

How it's Made

The Foundation: 1inch Fusion+ Integration

We started by deeply integrating with 1inch's Fusion+ protocol which provides the order matching, resolver incentives, and MEV protection that makes gas-free swaps possible. Our fusion-plus-core module extends the Fusion+ SDK to handle cross-chain orders, where source and destination assets live on different blockchains. This required building a new order type that encodes cross-chain parameters while remaining compatible with 1inch's existing infrastructure.

The Bridge: Universal HTLC Protocol

The heart of 10inch is our universal Hash Time-Locked Contract (HTLC) protocol. We designed a standard interface that could be implemented across 10 wildly different blockchain architectures:

  • Move-based chains (Aptos/Sui): We wrote modules that leverage Move's resource model for atomic transfers
  • Rust/WASM chains (Near/Stellar): Implemented state machines in Rust with cross-contract calls
  • Unique VMs (TON/Cardano): Created custom implementations in FunC and Plutus that handle their special execution models
  • EVM-compatible (Tron): Adapted Solidity contracts to work with TVM's quirks
  • Native features (XRP): Used XRP's built-in escrow with crypto-conditions

The breakthrough was creating a "dual hash" system that bridges chains using different hash functions (SHA-256 vs Keccak256), allowing seamless interoperability.

The Network: Resolver Ecosystem

To make swaps happen automatically, we built a resolver network using TypeScript services that:

  • Monitor all 10 blockchains for new cross-chain orders
  • Calculate optimal routes and pricing using 1inch APIs
  • Execute atomic swaps by coordinating HTLC creation on both chains
  • Handle secret revelation and fund claiming

Technical Innovations

Unified Time Handling: Different chains use different time representations (Unix timestamps, slots, ledger sequences). We built adapters that normalize these into a common format while respecting each chain's native precision.

Gas Optimization: By studying each chain's fee model, we optimized contract storage and execution paths. For example, on Stellar we use Soroban's temporary storage for transient data, while on Cardano we minimize script size to reduce fees.

Cross-Chain Testing: We built a comprehensive test framework that can simulate swaps between any two chains, using Docker containers running local chain instances. This lets us test complex scenarios like network delays and reorgs.

Partial Fills: We extended the basic HTLC model to support partial order fills, allowing large trades to be split across multiple resolvers for better liquidity.

The result is a production-ready system with contracts deployed on all testnets, comprehensive documentation, and demo videos showing real cross-chain swaps. It's not just a proof of concept—it's the foundation for a new era of unified DeFi.

background image mobile

Join the mailing list

Get the latest news and updates