# Swap Transfer Rules

Suppose there are two people, Alice and Bob, who wish to exchange XBase tokens. Alice owns 100 XBase tokens and Bob owns 50 XBase tokens. They need to start exchanging through our decentralized exchange platform, XBaseSWAP. They can transact using Ethereum or other blockchains compatible with XBase tokens. Alice offers to exchange her 100 tokens at a 1:1 ratio, while Bob offers to exchange his 50 tokens at a 2:1 ratio. After some negotiation and negotiation, they finally reached an agreement and completed the exchange of XBase tokens.

This is just a simple model, an actual XBase token exchange may involve many more details and steps, including transaction fees, liquidity providers, and more.

If Alice holds 100 XBase tokens issued on the Ethereum network, and Bob holds 50 XBase tokens issued on the Binance Smart Chain network. They intend to conduct token exchange through a cross-chain compatible decentralized exchange platform. In this model, they will utilize the atomic swap protocol, which supports all EVM-compatible blockchain networks and enables seamless transfer of assets through cross-chain operations. They will use cross-chain bridging technology to map XBase tokens on the Ethereum network to the Binance Smart Chain network to facilitate token exchange on two different blockchain networks. Token exchange will involve processes such as smart contract invocation, cross-chain messaging, token mapping confirmation and cross-chain verification to ensure the validity and security of the transaction. The entire exchange process may also involve professional concepts such as cross-chain handling fees, multi-signature verification, and cross-chain consensus mechanisms to achieve the effective exchange of XBase tokens on two different blockchain networks.

<table><thead><tr><th width="142">holder</th><th>Blockchain network</th><th width="254">Number of tokens owned</th><th>Transaction Type</th></tr></thead><tbody><tr><td>Alice</td><td>Ethereum network</td><td>100</td><td>Cross-chain transfer to BSC </td></tr><tr><td>Bob</td><td>Binance Smart Chain</td><td>50</td><td>Cross-chain receipt of tokens from Ethereum </td></tr><tr><td>Contract</td><td>Ethereum network</td><td>-</td><td>Token mapping </td></tr><tr><td>Cross-chain bridge</td><td>Invisible handshake</td><td>-</td><td>Cross-chain asset locking and releasing</td></tr></tbody></table>
