XChains
  • 💡Introduction
  • Understanding XChains
    • Getting Started
    • Actors
      • Liquidity Providers
      • Swappers
      • Bridgers
    • 9CP (IXCP)
  • How it works
    • Technology
    • Fees
    • Govenance
    • Tokenomics
  • Roadmaps
    • Product Roadmap
    • Business Roadmap
  • One-page Pitch Deck
  • 🏛️XChains Architecture
    • Design Strategy
    • Hashed Time-Locked Contracts (HTLCs)
    • Cross-chain Communication
      • Oracle
      • Relay Network
  • 🛠️XChains Implementation
    • Smart Contracts
      • Private Liquidity Pool Contracts
      • Bridge Contracts
    • Atomic Swap Protocol
    • Cross-Chain Transfer Flow
    • Security Considerations
    • Public Pool Integration
  • 🔐XChains Liquidity
    • Private Liquidity Pools
    • Shared Liquidity Pools
    • XChains Formula
  • 📬Contact Us
    • Email
    • Website
    • Telegram Channel
    • Telegram Chat
Powered by GitBook
On this page
  • How It Works
  • Available Assets
  • Atomic and Decentralized Swap
  • Swap Output Calculation
  • Swap Costs
  1. Understanding XChains
  2. Actors

Swappers

Swapping an asset on Chain X with other asset on Chain Y

PreviousLiquidity ProvidersNextBridgers

Last updated 11 months ago

On XChains, users can swap their digital assets on one chain for other digital assets on other chain. The protocol aims to give users access to:

  • A large variety of assets through cross-chain compatibility and simple asset listing

  • Superior user experience through the private but open finance protocol and permissionless access

How It Works

Available Assets

Users can swap any assets which are on connected chains and which have been added to the protocol. Users can swap from any connected asset to any other connected asset. They can also swap from any connected asset to .

Atomic and Decentralized Swap

XChains enables direct and atomic cryptocurrency exchanges without needing a trusted third party, thereby eliminating counterparty risk.

Swap Output Calculation

For first stages, the swap output is calculated based on the 3rd-party services such as Uniswap

Swap Costs

The cost of a swap is made up of two parts:

  1. Outbound Fee

  2. Price Slippage

All swaps are charged a network fee. The network fee is dynamic – it's calculated by averaging a set of recent gas prices.

9CP