XCVM: the Cross-Chain Virtual Machine
Deploy protocols that communicate across multiple chains asynchronously — describe what should happen, and the XCVM routes and executes it.
The Cross-Chain Virtual Machine (XCVM) is the top-level orchestration layer of the Composable Finance stack. It lets developers deploy protocols that communicate across multiple chains asynchronously — describing what should happen across ecosystems while the XCVM handles how it is routed and executed.
From cross-chain transfers to cross-chain applications
Moving an asset from one chain to another is the easy part. The hard part is building an application whose logic spans several chains at once. The XCVM is designed for exactly that: developers compose functions from modular pallets, and the virtual machine orchestrates their execution across chains without hand-wiring every bridge and message.
How is the XCVM different from the EVM?
A virtual machine such as the Ethereum Virtual Machine (EVM) executes code on one chain. Anything deployed through the XCVM is natively cross-chain: a single program can carry instructions that run on several chains in sequence.
| Aspect | Single-chain VM (e.g. EVM) | XCVM |
|---|---|---|
| Where code runs | One chain | Several chains, coordinated as one program |
| Contract language | Solidity and other EVM languages | CosmWasm contracts |
| How chains are reached | External bridges, wired by hand | IBC via Centauri, plus other bridges where IBC is not available |
| Failures mid-route | Handled by each app | Callbacks and failure handling built into the orchestration layer |
How does an XCVM program run?
- A developer writes a program describing the steps and the chain each step belongs to.
- The XCVM routes the instructions to satellite contracts deployed on each target chain.
- Messages between chains travel over IBC, so each hop is verified by light clients rather than a trusted relayer.
- Each satellite executes its step and reports back, and the XCVM continues, calls back or handles the failure.
Orchestration over fragmentation
By abstracting the messy developer experience of siloed DeFi primitives, the XCVM turns a fragmented multi-chain landscape into a single programmable surface. Combined with Centauri's trustless IBC bridging, it enables interoperability at the core of the protocol rather than as an afterthought.
Use cases
- Cross-chain aggregation across previously siloed liquidity.
- Arbitrage that spans multiple ecosystems.
- Institutional onboarding flows that touch several chains at once.
- A swap on one chain paid for with assets held on another, in one user action.
Where XCVM fits
The XCVM is one of the core elements of Composable Finance, built and extended by Composable Labs and settling through the Picasso parachain. For the transport underneath it, see how Inter-Blockchain Communication works.