> For the complete documentation index, see [llms.txt](https://docs.xswap.link/xswap/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xswap.link/xswap/xpay/core-concepts.md).

# Core Concepts

## Interoperability

Interoperability between blockchain networks is a significant challenge due to the complexity of underlying technologies. XPay simplifies this by providing a seamless interface for cross-chain transactions. By leveraging Chainlink's CCIP, XPay ensures secure and reliable interoperability, enabling the execution of smart contracts on different chains.

## XPay UI

Our project recognizes the effort needed to create a solution that will be capable of handling multiple networks at once and fully take advantage of cross-chain technologies like the chainlinks CCIP. That is why we are dedicated to delivering various UI for broad use cases to streamline the integration process. The UI is written in pure JavaScript and can be implemented on any website. Below you will find our modal UI that can be used for Cross-chain Token purchases.  &#x20;

<figure><img src="/files/P3k55sVEZ7xGn5krxSr7" alt=""><figcaption></figcaption></figure>

## Programmable Token Transfers

The Chainlink Cross-Chain Interoperability Protocol (CCIP) is far more than a simple token bridging solution. It’s a generalized cross-chain messaging protocol for transferring tokens (value), messages (data), or both tokens and messages simultaneously within a single cross-chain transaction—referred to as Programmable Token Transfers.

In effect, XPay Programmable Token Transfers enable smart contracts to transfer tokens cross-chain along with instructions on what the receiving smart contract should do with those tokens once they arrive on the destination chain. This revolutionary concept of wrapping value and instructions together allows tokenized value to interact automatically and dynamically once it arrives at a destination, opening up a world of new possibilities.

XPay Programmable Token Transfers enable to interact with smart contracts on other blockchain networks without needing to integrate or directly interact with that blockchain. All they need to do is send instructions to using XPay on how to interact with the selected blockchain smart contracts.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.xswap.link/xswap/xpay/core-concepts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
