Xai Network
Xai Network
Xai Network
  • About Xai
    • Welcome to Xai
    • Xai Introduction
      • Xai Blockchain
      • Xai Foundation
      • Xai Token
      • Blockchain Gaming
        • Current Limitations
        • The Future of Gaming
        • Gaming Evolved
      • Ex Populus Partnership
      • Offchain Labs Partnership
      • Vanguard League
      • FAQ
      • Important Links
      • Xai Brand Kit
    • Xai Protocol
      • Xai Basic Concepts
      • AnyTrust: Revolutionizing Blockchain Infrastructure
        • Reducing Costs through Trust Assumptions
        • Keysets for Flexibility
        • Data Availability Certificates (DACerts)
        • Dual Data Posting Mechanisms
        • Data Availability Servers (DAS)
        • Sequencer-Committee Interaction
      • Security considerations
    • Xai Governance Voting Guide
    • XAI Tokenomics
      • XAI Token’s Utility & Purpose
      • esXAI Token’s Utility & Purpose
      • The Redemption Process
      • Token metrics and initial allocation
      • XAI & esXAI Emissions & Burning
      • Network Rewards
      • Sentry Key Pricing Tiers
    • Sentry Keys Explained
      • How do Sentry Nodes Work
      • Who Can Operate A Sentry Node
      • Referee Smart Contract
        • Submission of Assertions
        • Claiming Rewards
        • Creating Assertion Hash and Checking Payout
      • Challenger Component
      • Key (NFT-based)
      • Sentry Download and Operation
      • Sentry Wallet Functionality
      • Licensing Impact
      • Sentry Node Hardware Requirements
      • Sentry Node Utility
      • Accruing Key Rewards
    • Sentry Key Purchase & Setup
      • Step 1: Purchase a Sentry Key
        • Option 1: Buy Sentry Key via the website
        • Option 2: Buy Sentry Key via Xai Sentry Node desktop app
        • Option 3: Buy Sentry Key via Xai Sentry Node CLI (command line interface)
          • How to view the price of a Key via the CLI
        • Option 4: Buy Sentry Key via Node License Contract on Arbiscan
      • Step 2: Download & Run the Xai Sentry Node
      • Step 3: Complete Requirements to Accrue esXAI
        • Step 3a: Set Up & Fund the Sentry Wallet
          • How to Obtain Arbitrum ETH
          • How to import your wallet as the Sentry Wallet in the desktop app
        • Step 3b: Start the Sentry Wallet (a.k.a Operator)
          • How to create a wallet using the CLI
        • Step 3c: Assign Keys to the Sentry Wallet
      • Step 4: Complete KYC (or KYB) to Claim XAI redemptions
        • How to interpret a Pending KYC status
      • Common Troubleshooting Steps
        • How do I run a Xai Node on VPS?
          • Step 1: Choose a VPS
          • Step 2: Log in to a server
          • Step 3: Set up Xai Sentry Node
          • Step 4: Set up a Screen
          • Step 5: Start Xai Sentry Node
          • Step 6: Monitor your Node via Screen
          • Step 7: Updating your node
        • How do I prevent others from using my Sentry Wallet or Operator?
        • Why don't I see the KYC link on the desktop app?
        • How do I know my Node is running in the CLI?
        • How do I KYC if I'm using the CLI?
        • How can I see my rewards?
        • Crashing, inconsistent Emissions / missing revert data errors
        • According to BlockPass, my KYC is approved, but the desktop app still says I am not approved
        • I see "Transaction in progress" message after assigning my wallet. Did my wallet not get assigned?
        • How do I delegate my Keys to another user's operator?
        • Why did my Accrued esXAI balance decrease?
        • What are the legitimate contracts owned & operated by Xai Foundation?
        • Why do I get an error for challenge 2012?
      • How To Videos
        • Desktop Client
          • Download & Install Xai Node Desktop Client
          • Import & Start Your Sentry Wallet
          • Assign Wallets Containing Keys to the Sentry Wallet
          • Fund Sentry Wallet with Arbitrum One ETH
          • Submit KYC
          • Claim Node Rewards after Passing KYC
        • Command Line Interface (CLI)
          • Download & Install Xai Node CLI
          • Boot Operator & Interpret Status Logs
          • Add Custom Operator
          • Track Accrued esXAI
          • KYC When Using CLI
      • Redeem Referral Rewards
    • Open Initiatives
      • Completed Initiatives
      • Xai & Sentry Nodes Initiatives
      • Xai Protocol Initiatives
  • Staking Explained
    • Staking v1 and v2
    • Staking Pool Guide
      • Create a Pool
      • Stake esXAI
      • Stake Sentry Keys
      • Generating Rewards
      • Unstaking
    • Staking Rewards & Tiers
    • Time Cooldown
    • Gas Optimizations
  • Tiny Sentry Key FAQ
    • FAQ (Indonesian / Bahasa Indonesia)
    • FAQ (Korean / 한국어)
    • FAQ (Hindi / हिन्दी) - कुंजी विभाजन सामान्य प्रश्न
    • FAQ (Chinese / 中文)
  • Key Sale Referrals
  • Key Split Update (technical)
  • Build on Xai
    • Xai Chains & Parameters
      • Connect to Xai Mainnet
      • Bridge to Xai Mainnet
      • Connect to Xai Testnet (Sepolia)
      • Bridge to Xai Testnet
      • Bridged Token Addresses
      • Contract Addresses
    • How to run a full node for Xai chain
    • How to get $XAI
      • Centralized Exchanges
      • Decentralized Exchanges
        • Camelot
    • Developer Tools
      • Block Explorers
      • RPC
        • Ankr
        • Nirvana
        • QuickNode
      • Token Bridges
        • Xai native bridge
        • Gas.zip
        • Relay
      • Wallets
      • Marketplace
        • Reservoir
        • Snag Solutions
        • RaribleX
      • On chain randomisation
        • Supra VRF
  • Xai Gaming Dev Resources
    • Xai Connect
      • Overview
      • Integrate with Xai Connect
    • Build with thirdweb
      • Overview
      • Connect
      • Contracts
      • Wallets
      • Account Abstraction
      • SDKs
      • Engine
      • Web3 APIs
    • Build with Sequence
    • Subgraph
    • Xai Gas Subsidy
  • Xai Vanguard: Genesis
    • Getting Started
      • Leaderboard
      • Discord
    • Chapter 01: Onboarding
    • Chapter 02: Minting
      • Minting from Contract
    • Chapter 03: Discord
      • Obtaining esXAI
      • Obtaining XAI
      • Buy Sentry Key
    • Chapter 04: Xai Staking Pools
    • Chapter 05: Unicorn Bingo
    • Chapter 06: Bridging
    • Chapter 08: Build on Xai
      • Thirdweb: Creator Portal Walkthrough
      • Sequence: Xai Builder Walkthrough
    • Chapter 09: Camelot
    • Chapter 10: Crypto Unicorns
    • Chapter 11: Tarochi
    • Chapter 12 - My Angry Yakuza Girlfriend
    • Chapter 13 - Rainbow Rumble
    • Chapter 14 - The Lost Glitches
  • Xai Vanguard: Previous Seasons
    • XAI Token Claim
      • Claim Details
  • Play Games on Xai
    • Connect your wallet to Xai
    • Xai Games Catalog
    • Final Form
      • Card Sets
      • Card System
      • Where to Get Cards
      • ❔FAQ
Powered by GitBook
On this page
  1. Build on Xai
  2. How to get $XAI
  3. Decentralized Exchanges

Camelot

PreviousDecentralized ExchangesNextDeveloper Tools

Last updated 10 months ago

Camelot is a decentralized exchange (DEX) that enables users to trade tokens, provide liquidity, and participate in the decentralized finance (DeFi) ecosystem. This section provides step-by-step guides on how to buy tokens on Camelot and how to set up a liquidity pool.

Overview of Camelot

Camelot is designed to offer a seamless and secure trading experience for users. It provides a range of DeFi functionalities, including token swaps, liquidity provision, and yield farming. By integrating with Camelot, developers on Xai can leverage these capabilities to enhance their projects and offer more value to their users.

How to Buy Tokens on Camelot

Follow these steps to buy tokens on Camelot:

  1. Connect Your Wallet:

    • Visit .

    • Click on the "Connect Wallet" button in the top-right corner.

    • Select your preferred wallet (e.g., MetaMask, WalletConnect) and follow the prompts to connect.

  2. Select the Trading Pair:

    • On the Camelot homepage, navigate to the "Swap" section.

    • Select the token you want to trade from the dropdown menu in the "From" field.

    • Select the token you want to buy from the dropdown menu in the "To" field.

  3. Enter the Trade Amount:

    • Enter the amount of the token you want to trade in the "From" field.

    • The corresponding amount of the token you want to buy will automatically be displayed in the "To" field.

  4. Review and Confirm the Trade:

    • Review the details of your trade, including the exchange rate and any fees.

    • Click the "Swap" button to initiate the trade.

    • Confirm the transaction in your connected wallet.

  5. Transaction Confirmation:

    • Wait for the transaction to be confirmed on the blockchain.

    • Once confirmed, the purchased tokens will appear in your wallet.

Setting Up a Liquidity Pool on Camelot

Providing liquidity on Camelot allows you to earn rewards from trading fees. Here’s a visual guide on how to set up a liquidity pool:

  1. Connect Your Wallet:

    • Click on the "Connect Wallet" button in the top-right corner.

    • Select your preferred wallet and connect it to Camelot.

  2. Navigate to the Liquidity Section:

    • Click on the "Liquidity" tab in the main menu.

  3. Add Liquidity:

    • Click on the "Add Liquidity" button.

    • Select the token pair you want to provide liquidity for.

    • Enter the amount of each token you want to add to the pool.

    • Ensure that you have an equal value of both tokens.

  4. Approve Tokens:

    • Click the "Approve" button for each token to allow Camelot to access your tokens.

    • Confirm the approval transactions in your connected wallet.

  5. Supply Liquidity:

    • After approving the tokens, click the "Supply" button.

    • Review the details of the liquidity provision, including the pool share and potential earnings.

    • Confirm the supply transaction in your connected wallet.

  6. Receive LP Tokens:

    • After the transaction is confirmed, you will receive Liquidity Provider (LP) tokens representing your share in the liquidity pool.

    • These LP tokens can be staked to earn additional rewards or withdrawn to retrieve your initial tokens along with any earned fees.

Additional Resources

  • Support: Access support through Camelot’s documentation and community channels for assistance with trading and liquidity provision.

Integrating Camelot into your project on Xai provides robust DeFi functionalities, including token trading and liquidity provision. By following the step-by-step guides provided, developers can easily leverage Camelot's features to enhance their applications and offer more value to their users.

Visit .

Website:

Documentation:

Camelot Exchange
Camelot Exchange
Camelot Exchange
Camelot Docs