Track 1 · Foundations1 of 5

How XChain works

Tokens, trading, and contracts running on top of Bitcoin. No changes to Bitcoin required.

XChain is a metalayer: a protocol that runs above a blockchain, using it as a foundation without modifying it. That one idea is what makes everything else possible.

XChain: tokens · DEX · smart contracts
reads & writes instructions tucked inside ordinary transactions
↑   ↓
Bitcoin · Litecoin · Dogecoin
the base chain is never changed; same proof-of-work security

The metalayer idea

Think of a building. The concrete and steel (the blockchain) provide the structure; the electrical wiring (XChain) runs through it to add new capabilities, without changing the structure itself.

In practice, XChain tucks small packets of data inside ordinary blockchain transactions, marked with a magic prefix (XCHN). To Bitcoin they're just part of a normal transaction. XChain's software reads those packets as commands and keeps its own running record of balances, orders, and contract state.

The pieces that make it work

Under the hood, a handful of small, independent services turn a coin node into a queryable token platform. Each does one job, with data flowing from the chain up to your app. The same shape runs once per chain you support.

xchain-hub · validator network config · price oracle · cross-chain attestation · governance config · prices Coin node bitcoind · litecoind · dogecoind decoder extract & decode indexer validate · ledger · VM explorer REST · RPC · WS Wallets · dApps · consumers read the chain blocks actions state apis sync replicas & validators snapshots · stream sdk · encoder · utxo-tracker build & sign transactions broadcast
One coin node, one decoder, one indexer, one explorer per chain, coordinated by a shared validator hub and replicated by sync. The same shape repeats for every chain you run.

Secured by the chain you already trust

An XChain token isn't a copy or an IOU. The record literally lives inside a real blockchain transaction, secured by the very same proof-of-work that secures every other transaction on that chain. There are no separate validators and no new consensus to trust.

No sidechains, no bridges

Many token systems "lock" an asset on one chain and "mirror" it on another through a bridge, and bridges are among the most-attacked targets in all of crypto. XChain has nothing to bridge: there's no separate chain, nothing to lock and unlock.

More than one chain, one protocol

XChain runs on Bitcoin, Litecoin, and Dogecoin today with the same 36 commands and the same tools. Because the technique only needs a Bitcoin-style chain, adding another compatible chain is a configuration change. No new network to build.

Anyone can verify it

The data is obfuscated, not encrypted; its key comes from public transaction data, so anyone running a node can read everything. That fully-public, replayable state is exactly what lets independent parties recompute and check the whole ledger for themselves.

Open the wallet ← All topics