> For the complete documentation index, see [llms.txt](https://l1x-sdk.gitbook.io/l1x-developer-interface/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://l1x-sdk.gitbook.io/l1x-developer-interface/multi-chain-with-x-talk/start-building-with-x-talk/cross-chain-data-and-message-passing-xcdp/v1.0-legacy/x-talk-swap.md).

# X-Talk Swap

X-Talk Swap provides an infrastructure to swap tokens from one blockchain network to another blockchain network which is run time environment agnostic.

### **X-Talk vs Other solutions**

| Component                 | Traditional Bridge       | Layer Zero                                       | X-Talk                                               | Purpose/Rationale                                                                                                                                  |
| ------------------------- | ------------------------ | ------------------------------------------------ | ---------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| Asset Contract            | Deployed on all networks | Deployed on all networks                         | Yes with the ability to have one chain or all chains | Handles the token/assets locking, minting, and unlocking on both chains.                                                                           |
| Relayer                   | Present on all networks  | Present on all networks via Layer Zero endpoints | No                                                   | Detects events on the source chain and relays information to the destination chain.                                                                |
| Adapter / Bridge Contract | Deployed on all networks | No                                               | No                                                   | Connects two different blockchain networks to facilitate the transfer. In Layer Zero, this functionality is integrated into the Endpoint contract. |
| Logic Contract            | Deployed on all networks | Deployed on all networks                         | Only on One Chain                                    | Contains the business logic for validating and executing cross-chain transfers.                                                                    |
| Registry Contract         | Deployed on all networks | Deployed on all networks                         | Only on One Chain                                    | Maintains the overall registry of the assets.                                                                                                      |
| Signer Contract           | Deployed on all networks | Deployed on all networks                         | Only on One Chain                                    | Has the ability to MPC or Governance signing.                                                                                                      |

### X-Talk Swap

X-Talk Swap leverages the X-Talk Technology which includes the Source Chain Registration on X-Talk Node, X-Talk Contracts and Signing Flow. Below is the technical level flow of X-Talk.&#x20;

<figure><img src="/files/MTkOvbWq5f5ouAMAp38S" alt=""><figcaption><p>X-Talk Flow</p></figcaption></figure>

The Characteristics of X-Talk Swap are

* Provides the deployer with an end to end ownership of token.&#x20;
* Provides Integrated Oracle System to swap tokens across systems implemented directly through contracts.&#x20;
