L1X Foundation
  • Getting Started
    • L1X Overview
      • Mission and Vision
      • Why Layer One X?
      • L1X Coin
      • Infrastructure Essentials
    • Glossary
    • Quick Links
      • Foundation Website
      • WhitePaper
      • Social Media Links
      • Blog
      • Others
  • Ecosystem
    • Multifunction Utility
    • Products
    • Partnerships
      • L1DEX - Decentralised Exchange
      • DigaLabs
      • Omchain
      • Healthlink
      • L1X_Labs
      • UWA
      • Prysm Group
      • Hype Talent
  • L1X Technology Explained
    • Abstract
    • Introduction
    • Scalability and Interoperability Limitations of Existing Blockchain Networks
    • L1X Network
      • Design Principles
      • Prominent Features
      • L1X Benefits
    • Mobile Nodes
    • L1X Architecture
      • Components
      • Consensus Mechanism
    • L1X Transaction Lifecycle
    • X-Talk
      • X-Talk Architecture
      • Use Case: Advertise BSC NFT Sale in OpenSea Ethereum Marketplace
      • X-Talk Workflow
      • Benefits
    • Virtual Machine
    • L1X Time Units
    • Validator Nodes
      • Validator LifeSPAN
      • Validator Lifespan Algorithm
      • Validator Selection
      • Validator Selection Algorithm
      • Vigilant Nodes
      • Radix Nodes
      • Cluster Assignment
      • Lexicon
    • L1X Reward Mechanism
      • Friction on the Network
      • Consensus Mechanism and Incentive Scheme
      • Resource Costing Model
      • Token Distribution and Pricing Strategy
      • Consensus Mechanism and Token Pricing with Respect to Token Inflation
      • Token Participant Distribution and Pricing
      • Ongoing Distribution Rules, Governance, and Token Pricing
      • Layer Two Tokenomics Vs Layer One Tokenomics
      • L1X Coins
    • Tokenomics
    • L1X Applications
      • Staking
      • Exchange
      • Ledger Tokenization
      • Micropayment Transactions
      • Micro Trading
      • Gaming
      • Metaverse
    • L1X Components - Example Use-Cases
      • L1X Fungible Token Smart Contract
      • L1X Non-Fungible Token Smart Contract
      • X-Talk Token Swap
      • X-Talk Token Staking
      • X-Talk Fungible Token Lending and Borrowing
      • X-Talk NFT Liquidity Provision
      • X-Talk NFT Leasing Provision
      • Health Smart Contract
      • L1X Wallet SDK
    • Conclusion
  • L1X Tokenomics
  • Node Hosting on L1X
    • Node Architecture & Consensus Mechanism
Powered by GitBook
On this page
  • Example:
  • Technical Workflow
  • Workflow explained
  1. L1X Technology Explained
  2. L1X Components - Example Use-Cases

X-Talk Token Swap

PreviousL1X Non-Fungible Token Smart ContractNextX-Talk Token Staking

Last updated 1 year ago

The ability to swap up a Fungible Token on Chain A with the Fungible Token on Chain B. The two chains may be EVM or Non-EVM compatible blockchain networks. The source token will automatically be burnt on Chain A, and the equivalent destination token will be minted on Chain B. This allows the Fungible Token to be swapped and used on any platform for various purposes.

Example:

The ability to swap a fungible token on Binance Smart Chain with a fungible token on Solana. The source fungible token will be automatically swapped with the destination fungible token. The token will be usable on the destination chain for transaction fees, staking, governance, and trading.

Technical Workflow

Workflow explained

  1. User deposits Fungible Token to the L1X Smart Contract on the Binance Smart Chain. L1X Smart Contract sends these tokens to the L1X Liquidity Pool.

  2. User initiates the Smart Contract on the L1X Chain that makes the Execution Manager ready in terms of listening to the L1X Smart Contract initiation events.

  3. Execution Manager informs the Rule Engine about Transaction Type. In this use case, it’s ‘L1X_Swap’.

  4. Rule Engine verifies the event and forwards it to the Rule Processor.

  5. Rule Processor filters and sends relevant information to the Rule Database.

  6. Rule Database gives the response for the associated function call.

  7. Rule Engine sends an event for an empty struct to the Execution Manager with function/rules and its relevant variable/function parameter details.

  8. Execution Manager requests the Execution Register to store the information about Fungible Token deposited to the L1X Smart Contract.

  9. Execution Register stores the event information and informs Execution Manager.

  10. Execution Manager invokes L1X Smart Contract on the Solana blockchain network to send Fungible Token from L1X Liquidity Pool to the destination address.

  11. Event is triggered once Fungible Token is successfully transferred to the Solana destination address.

  12. Rule Engine sends the corresponding event for the transaction struct to the Execution Manager.

  13. Execution Manager provides the information about ‘the successful Fungible Token swapping to the Solana network’, to Execution Register.

  14. Execution Register stores the information and updates the Execution Manager.

  15. User is informed about successful FT swapping and availability of the Fungible Token on the Solana Blockchain network.

Figure 16 X-Talk Token Swap Workflows