# Candy Swap

## Candy Swap Exchange (DEX) Documentation

### Introduction

Welcome to the Candy Swap documentation! Candy Swap is a decentralized exchange (DEX) built on the cutting-edge Candy Chain blockchain technology. As a decentralized platform, it allows users to trade digital assets in a peer-to-peer fashion, without the need for a central authority or third-party involvement. This guide is a comprehensive walkthrough of how to leverage all the features available on Candy Swap.

***

### Table of Contents

* [Introduction](https://chat.openai.com/#introduction)
* [Prerequisites](https://chat.openai.com/#prerequisites)
* [Getting Started](https://chat.openai.com/#getting-started)
* [How to Trade](https://chat.openai.com/#how-to-trade)
* [Supported Tokens](https://chat.openai.com/#supported-tokens)
* [Fees and Costs](https://chat.openai.com/#fees-and-costs)
* [Security](https://chat.openai.com/#security)
* [Support](https://chat.openai.com/#support)

***

### Prerequisites

Before diving into the trading process, here's what you'll need:

#### Web3 Wallet

You must have a compatible Web3 wallet installed. MetaMask and Candy Wallet are commonly used. Your Web3 wallet will serve as your identity and payment method for trades.

#### Candy Tokens

To initiate trades and cover transaction fees, you'll need to have some Candy Tokens (CNDY) in your wallet. You can acquire these through various exchanges or our [Candy Bridge](https://bridge.candychain.com/).

#### Internet Connection

A stable and secure internet connection is essential for a smooth trading experience.

***

### Getting Started

#### Step 1: Visit Candy Swap

Access the platform by navigating to [Candy Swap](https://swap.candychain.com/).

#### Step 2: Connect Your Wallet

1. Click on the "Connect Wallet" button usually located at the top-right corner of the homepage.
2. A pop-up will appear, displaying wallet options. Choose your wallet (e.g., MetaMask) and complete the connection process.

#### Step 3: Initial Setup

Some wallets will automatically detect the Candy Chain network. If not:

1. Manually add the Candy Chain network to your wallet.
2. Ensure you have a balance of Candy Tokens for transactions and fees.

***

### How to Trade

Trading on Candy Swap is intuitive, yet offers advanced features for seasoned traders.

#### Placing an Order

1. **Select Tokens**: Use the dropdown to select the token pair you want to trade.
2. **Set Amounts**: Input the amount of tokens you wish to buy/sell.
3. **Review Rate**: The exchange rate, along with an estimate of the gas fee, will be displayed.
4. **Execute**: Click on "Swap" and review the transaction in your wallet. Confirm to proceed.

#### Order Types

* **Market Orders**: A market order allows you to immediately buy or sell at the current market price.
* **Limit Orders**: With limit orders, you can specify the price at which you want to buy or sell. Your order will execute only when the market price matches your set price.

***

### Supported Tokens

Candy Swap supports a wide array of tokens, including but not limited to:

* Candy Token (CNDY)
* Wrapped Bitcoin (wBTC)
* Wrapped Ether (wETH)

For an exhaustive list, visit [Supported Tokens](https://docs.candychain.com/supported-tokens).

***

### Fees and Costs

#### Trading Fee

A nominal fee of 0.3% is charged per transaction to maintain the network and offer liquidity providers a reward.

#### Network Fee

Candy Chain’s network fees fluctuate based on demand. These fees are payable in Candy Tokens (CNDY).

***

### Security

#### Decentralized Trading

All trading activities are directly executed from your Web3 wallet, ensuring full control and security of your assets.

#### Smart Contract Audits

Candy Swap's smart contracts undergo rigorous audits to ensure their security and reliability.

***

### Support

Should you need further assistance, here are ways to get support:

* 📧 Email: <support@candychain.com>
* 💬 Telegram: [CandyChainCoin Telegram](https://t.me/CandyChainCoin)
* 💬 Discord: [CandyChain Discord](https://discord.com/invite/candychain)

***

**Last Updated**: 8/29/2023 **Version**: 1.0.1

© 2023 Candy Chain. All Rights Reserved.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.candychain.com/products/candy-swap.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
