Edge rails
An edge rail is the route that connects a non-EVM ecosystem to the EVM intent graph. Trails does not run a separate protocol per VM; instead, an edge chain sits at the edge of a flow — as the origin the user funds from, or the destination funds settle into — while the intent itself is anchored in the EVM-based orchestration described in How Trails Works. Because the model is keyed on the rail, not the specific chain, new alternative VMs are added by registering a new edge rail rather than by reworking the routing layer.Origin vs. destination
Edge support is asymmetric. What an integration needs depends on whether the edge chain is the origin (where funds come from) or the destination (where funds land).
Why origin needs an adapter. A non-EVM chain uses its own signing scheme and transaction format — an EVM
walletClient (viem) cannot produce a valid signature for it. Executing an edge-origin transaction therefore requires an ecosystem-native signer, supplied by the edge wallet adapter registered on TrailsProvider (currently the Solana adapter). Without it, edge-origin execution is unavailable and the SDK surfaces an explicit error.
Why destination does not. When an edge chain is only the destination, the user still signs a single EVM origin transaction as usual. Trails routes the value across the edge rail and settles to the edge-chain recipient address — no edge wallet or adapter is involved on the user’s side.
Execution flow
An edge-origin transaction follows the same intent lifecycle as an EVM flow (see How Trails Works), with the origin leg executed on the edge chain:- Quote. The route is quoted across the edge rail. Edge origin and destination are both quoted through the same intent quote path; edge chains are addressed by their ecosystem-native chain ID.
- Origin execution. The user signs and submits the origin transaction with their edge-chain wallet via the edge adapter. Funds enter the edge rail.
- Bridging & settlement. Value crosses into the EVM intent graph (or vice-versa for edge destinations) and settles to the recipient, exactly as in a standard Trails flow.
An edge-origin intent still designates an EVM address as the intent’s refund owner, even though the user funds from a non-EVM wallet. This is an internal detail of how the intent is anchored; the funding and signing happen on the edge chain.
Addresses and tokens
Edge chains use their ecosystem-native conventions rather than EVM ones:- Addresses follow the edge chain’s own format (for example, base58 rather than
0x-prefixed hex). - Native and token identifiers use the edge chain’s native scheme. Trails resolves known edge tokens from a built-in catalog rather than the EVM supported-tokens API.
Token and Chain types are chain-agnostic, so the same shapes carry both EVM and edge data. See Tokens & Chains for the SDK-side utilities.
Adding new alternative VMs
The edge-rail model is designed to grow without changing integration code:- New edge chains appear in the query results and quote paths as their rails go live.
- Each ecosystem ships its own wallet adapter for edge-origin signing — see Adapters (e.g. the Solana adapter).
- The per-hook support matrix in Hooks → Edge chains is organized by capability, not by chain, so it applies to any edge chain.
Need an alternative VM that isn’t listed yet? Contact us to request it.