# Testnet

## Introduction

The Demex testnets allow application developers to test and develop their applications without incurring any real-world cost. It also provides operators intending to run a validator with a risk-free environment to practice installing and running their nodes.

There are several active testnets that run concurrently. The primary testnet (`carbon-testnet-42069`) should be used for most purposes.

{% hint style="info" %}
Please note that testnets may be reset or deprecated periodically.
{% endhint %}

## Setting Up

Setting up a new node to join a testnet is quick and easy. The following GitHub repository provides a detailed explanation on how to get started:

{% embed url="<https://github.com/Switcheo/carbon-testnets>" %}

## Getting Testnet Tokens

Before you can begin developing on Demex, you'll need to have some testnet $SWTH tokens.&#x20;

You can obtain them from the faucet [here](https://test-faucet.carbon.network/#/default/post_).

**Step 1**: Click on the `default POST /` section to expand it:&#x20;

<figure><img src="/files/1AHMsdqj9EYKL1vfqaRn" alt="" width="563"><figcaption></figcaption></figure>

**Step 2:** Once expanded click on the "**Try it out"** button.

<figure><img src="/files/f9sOC3n0lsMssKUeE8xJ" alt="" width="563"><figcaption></figcaption></figure>

**Step 3**: In the **Edit Value** section of the `body` field, change both the `address` and `coins` parameter of the request to your `tswth` address and required token (max 10,000 SWTH `1000000000000swth`).

> Example: `{ "address": "tswth164wzv8ug9g09jhsqhwy9gm04cwplhd6swk3kdv", "coins": [ "10000000000swth" ] }`

<figure><img src="/files/fv6LEigIK95CP2kH4bnD" alt=""><figcaption></figcaption></figure>

**Step 4**: Hit the **Execute** button. You should receive testnet tokens at your address momentarily.

{% hint style="success" %}
If you encounter any issues, do reach out to the community and devs on [Telegram](https://t.me/demex_community) or [Discord](https://discord.gg/SPh62Hf)!
{% endhint %}


---

# 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://guide.dem.exchange/technical/running-a-node/testnet.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.
