Skip to main content

Overview

Trails is a chain abstraction intent-powered orchestration protocol that enables 1-click transactions from any wallet seamlessly with unified user liquidity across all chains. In contrast to typical cross-chain solutions, Trails sources liquidity and aggregates all user balances for every token across every chain in a user’s wallet as options for any transaction on a destination chain. Trails is architected as a trustless intents system that works on top of existing bridging, filler, or solver infrastructure. Trails is free to integrate and is optimized for a variety of use cases, for example:
  • Pay: Enable cross-chain, 1-click payments with any token for ecommerce platforms, NFT marketplaces, real-world asset purchases, and minimal-slippage stablecoin transactions.
  • Swap: Embed low-latency, highly liquid cross-chain token swaps for your applications.
  • Fund: Maximize TVL and transaction velocity through fully brandable funding widgets for protocol deposits such as perpetual exchanges, chain deposits, and liquidity provisioning.
  • Earn: Streamline DeFi yield opportunities by enabling deposits into tokenized vaults, lending pools, and yield strategies from any token on any chain

Key Features

1-click transactions

  • Transactions occur in a single confirmation with any wallet, regardless if it’s an EOA, account abstraction wallet, or EIP-7702 enabled.
  • Developers simply specify payment intent (e.g., “purchase NFT #123 with 30 USDC”) and a user can select any token across their wallet balance to pay.

Universal User Liquidity

  • Built-in multichain, real-time indexing to automatically return user’s wallet balances & prices. No third-party dependencies necessary.
  • Leveraging existing liquidity infrastructure such as DEX’s, bridges, or aggregators, we support a vast array of tokens and chains.
  • Transact end to end including gas with any permit-compatible token such as USDC, USDT and more bringing additional utility to your token.

Blazing Fast

  • Fast from anywhere, even with payments across chains using our intent-based architecture & relayer infrastructure.
  • Protocol intelligently detects optimal route for payment fulfillment and presents to the user in a streamlined UX.

Scalable

  • Trails can leverage virtually any existing cross-chain or liquidity infrastructure, including bridges, aggregators, and more.
  • Relayer & Indexing infrastructure is lightweight and easily deployable to new chains.

How Trails Works

Trails introduces a novel ‘intent address’ primitive powered by account abstraction tech that enables fully onchain control and verifiable onchain execution. Here’s the flow on how it works:
  1. App Defines Intent: Create a payment transaction (mint, deposit, swap, etc) for any chain in any token.
  2. Trails SDK Inspects: Can this succeed with the assets held on current chain? Yes = Pass through. No = Continue Orchestration.
  3. User Selects Route: Trails presents an aggregated balance of the user’s assets across all chains for the user to select from.
  4. Trails Orchestrates Transaction: Intelligently combines and optimizes swap + bridge + execute for the selected route to fulfill the transaction.
  5. Execute Transaction: User confirms transaction via their wallet which executes the end to end to flow for the selected payment.
This architecture enables developers to build sophisticated transaction experiences while abstracting the underlying complexity of multichain operations. All you have to do is specify what transaction and any payment options to execute on a destination chain. Developers simply pass in calldata to execute any arbitrary smart contract functions.

Working with Trails

The Trails is complementary to existing cross-chain and chain abstraction infrastructure. It is highly pluggable and leverages various fillers, solvers, DEX’s, and bridges for maximum liquidity and low-slippage across a wide variety of tokens and routes. In short, Trails enhances the flow of funds for underlying infrastructure. Trails supports any wallets including: EOA wallets such as MetaMask, smart wallets like Coinbase Smart Wallet, and embedded wallets like Privy. Trails supports any EVM-compatible chain and does not require EIP-7702 enabled wallets. For more information please read our architecture section.

Quickstart

Looking to integrate? Get started and build your app natively cross-chain in minutes.

Who Built Trails?

Trails is built by Sequence, the all-in-one developer platform for crypto.