Cross-chain overview

How XE works with other chains, what runs today, and where each part is documented.

XEBase · Arbitrum · Optimism · Solana

XE exchanges messages with other chains through Hyperlane. On top of those messages it gives you accounts on other chains, a way for contracts to use XE, price feeds, token routes and payments.

Everything on these pages runs between XE Sim Interop (Hyperlane domain 22599) and test networks. No mainnet is involved.

#The four directions

DirectionWhat it meansRead
XE to a chainAn XE account sends a message, or makes calls from its own account on that chainMessaging, Interchain accounts, Solana wallets
A chain to XEA contract, wallet or program sends a message to an XE account, or commands an XE account it controlsMessaging, Remote accounts
A contract asks XEA contract requests work from XE Services and gets a verified answer backContracts using XE, Solana programs
Value movesXUSD and XE travel between chains; payments settle on XETokens and payments

#How an answer comes back

A contract gets XE's answer in one of two ways. Both are checked against XE's validators.

  • Push. XE's relayer delivers the result and calls the contract's handler. The relayer pays the gas.
  • Claim. Anyone submits XE's validator-signed result and the contract verifies it itself, in the same transaction that uses it. The caller pays the gas.

Both exist on EVM (XEServiceConsumer for push, XEPullConsumer and attestations for claim) and on Solana (xe-solana-sdk: push for small messages, claim by attestation). Contracts using XE compares them.

#Chains

ChainHyperlane domainStatus
XE Sim Interop22599Live (test network)
Base Sepolia84532Live on testnet
Arbitrum Sepolia421614Live on testnet
Optimism Sepolia11155420Live on testnet
Solana devnet1399811151Live on devnet
Ethereum, Robinhood Chain, BNB Chain, Polygon, World Chain, Hyperliquid (HyperEVM), Tron, and the Base, Arbitrum, Optimism and Solana mainnetsNext

XE's own networks have their own domains: 22597 for mainnet and 22598 for testnet. Both are reserved and not in use yet. Each domain goes into every message id, checkpoint and account derivation, so nothing signed on XE Sim can be replayed on a later network.

#What's on each page

PageCovers
Trust modelWho signs what, in each direction; replay protection; deadlines
Messagingdispatch and message_receive, from XE to a chain and back, on EVM and Solana
Interchain accountsAn XE account's own account on an EVM chain
Solana walletsAn XE account's Squads smart account on Solana, run by xe-signer
Remote accountsA contract or wallet on another chain controlling an XE account
AgentsSession keys with limits on other chains; agent wallets
Contracts using XEXE.sol, push and claim, attestations
Solana programsxe-solana-sdk and the consumer demo
Act only if XE says yesA worked pattern with price and deadline guards
AI models as the judgeTEE services, quorums and strict yes/no outputs
Price feedsXEComputeFeed on EVM and xe-feeds on Solana
Tokens and paymentsXUSD and XE routes, XE Pay, swaps, Composer
Private AIThe Private and Zero retention grades, receipts
Wallets and signingXE Connect capabilities, signers, MCP tools
ReferenceAddresses, program ids, service ids, packages, APIs, errors
Security and limitsKnown limits and each component's security note

#Sources

The contracts, programs and SDKs on these pages live in private repositories. Where a page names a file, it gives the repository and path as plain text, for example xe-kit evm/src/xe/XE.sol. Every code sample was taken from those files or checked against them.