Swapper is a smart contract deployed on different blockchains. It handles the swap transactions for X swap user and also acts as a wallet of cross-chain liquidity. Once user fires a transaction to Swapper with quotation, swapper automatically find the best routing path to swap user's token to the cross-chain bridge token. After the other component of X swap, Consensus, confirms the cross-chain transaction, Swapper on the target chain receive another transaction from Consensus and then utilize the liquidity in its wallet to swap the desired token to user.