> For the complete documentation index, see [llms.txt](https://docs.chiliz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chiliz.com/th/rerm-ton/toolbox.md).

# Developer Toolbox

พารามิเตอร์ RPC สำหรับ Mainnet และ Spicy Testnet, faucet CHZ สำหรับ testnet ฟรี, คู่มือการ deploy และ verify contract, และคำสั่ง Docker สำหรับเปิดใช้งาน node

## เชื่อมต่อกับ Mainnet และ Testnet

Chiliz Chain พร้อมให้ใช้งานผ่าน Mainnet สำหรับโปรเจกต์ที่ใช้งานจริง และมี Testnet สำหรับการทดสอบ Chiliz Testnet มีชื่อว่า Spicy Testnet

{% tabs %}
{% tab title="Chiliz Chain Mainnet" %}

<table><thead><tr><th width="253">Parameter</th><th width="346">Value</th></tr></thead><tbody><tr><td>Network Name</td><td>Chiliz Chain</td></tr><tr><td>RPC endpoint</td><td>Recommended:<br><a href="https://rpc.ankr.com/chiliz">https://rpc.ankr.com/chiliz</a><br><br>Alternatives:<br><a href="https://chiliz-mainnet.gateway.tatum.io">https://chiliz-mainnet.gateway.tatum.io</a><br><a href="https://chiliz-rpc.publicnode.com">https://chiliz-rpc.publicnode.com</a></td></tr><tr><td>RPC Websocket</td><td>wss://chiliz-rpc.publicnode.com</td></tr><tr><td>Chain ID</td><td>88888</td></tr><tr><td>Currency Symbol</td><td>CHZ</td></tr><tr><td>Chiliz Block Explorer URL</td><td>Recommended:<br><a href="https://chiliscan.com">https://chiliscan.com</a><br><br>Alternative:<br><a href="https://scan.chiliz.com">https://scan.chiliz.com</a></td></tr></tbody></table>
{% endtab %}

{% tab title="Spicy Testnet" %}

<table><thead><tr><th width="253">Parameter</th><th width="312">Value</th></tr></thead><tbody><tr><td>Network Name</td><td>Spicy Testnet</td></tr><tr><td>RPC endpoint</td><td>Recommended:<br><a href="https://spicy-rpc.chiliz.com/">https://spicy-rpc.chiliz.com/</a><br><br>Alternatives:<br><a href="https://chiliz-testnet.gateway.tatum.io">https://chiliz-testnet.gateway.tatum.io</a><br><a href="https://chiliz-spicy-rpc.publicnode.com">https://chiliz-spicy-rpc.publicnode.com</a></td></tr><tr><td>RPC Websocket</td><td>Recommended:<br>wss://spicy-rpc-ws.chiliz.com/<br><br>Alternative:<br>wss://chiliz-spicy-rpc.publicnode.com</td></tr><tr><td>Chain ID</td><td>88882</td></tr><tr><td>Currency Symbol</td><td>CHZ</td></tr><tr><td>Spicy Block Explorer URL</td><td><p>Recommended:<br><a href="https://testnet.chiliscan.com/">https://testnet.chiliscan.com/</a></p><p><br>Alternative:<br><a href="https://spicy-explorer.chiliz.com/">https://spicy-explorer.chiliz.com/</a></p></td></tr></tbody></table>
{% endtab %}
{% endtabs %}

สำหรับข้อมูลเพิ่มเติม ดูได้ที่หน้า [เชื่อมต่อด้วย RPC](/th/phatthana/phuenthan/tho-chiliz-chain/tho-rpc.md)

## รับ testnet token

คุณสามารถรับ CHZ token สำหรับทดสอบได้ฟรีผ่าน faucet ซึ่งช่วยให้คุณทดลองใช้งานบน Spicy Testnet โดยไม่มีความเสี่ยงทางการเงินจากการทดสอบบน Chiliz Mainnet

ปัจจุบันมี faucet ให้เลือกใช้สองแห่ง:

* [Spicy Faucet](https://spicy-faucet.chiliz.com/)
* [Tatum's Chiliz Faucet for Testnet](https://tatum.io/faucets/chiliz)

สำหรับรายละเอียดเพิ่มเติมเกี่ยวกับ faucet ไปที่หน้าเฉพาะของเรา:

{% content-ref url="/pages/y7HDC2TBdwvv53pjrCSt" %}
[รับ Token Testnet ฟรี](/th/phatthana/phuenthan/rap-token-testnet.md)
{% endcontent-ref %}

## Deploy และ verify contract

การสร้าง smart contract เป็นส่วนสำคัญของโปรเจกต์ที่นำไปสู่การสร้าง dApp บน Chiliz Chain หรือ blockchain ใดก็ตาม

มีสองขั้นตอนที่คุณ**ต้อง**ดำเนินการเมื่อสร้าง smart contract ของ dApp เสร็จแล้ว:

1. Deploy contract บน Chiliz Chain

{% content-ref url="/pages/8HtGOK0wUg8tzq9mzDDR" %}
[Deploy Smart Contract](/th/phatthana/phuenthan/deploy-smart-contract.md)
{% endcontent-ref %}

2. Verify contract นั้น

{% content-ref url="/pages/xWLPjhumWNjqmyL6az1o" %}
[Verify Smart Contract](/th/phatthana/phuenthan/verify-smart-contract.md)
{% endcontent-ref %}

## เวอร์ชัน Solidity และ EVM

เมื่อเขียนและ compile contract สำหรับ Chiliz Chain ให้ใช้เวอร์ชัน Solidity และ EVM ที่แนะนำ:

{% hint style="info" %}
**เวอร์ชัน Solidity และ EVM ที่แนะนำสำหรับ Chiliz Chain:**

* **เวอร์ชัน Solidity compiler:** `0.8.30` (หรือต่ำกว่า)
* **เวอร์ชัน EVM เป้าหมาย:** `prague`
  {% endhint %}

## รัน Chiliz Chain Node

การรัน Chiliz Chain node ของคุณเองช่วยให้ควบคุมและรักษาความเป็นส่วนตัวได้ แต่ต้องการทักษะและทรัพยากรทางเทคนิคมากกว่า

หน้านี้ให้พารามิเตอร์ที่จำเป็นสำหรับการเปิดใช้งาน node ของคุณ:

```bash
docker run \
-v $(pwd)/my-datadir:/datadir \
--name ccv2-node \
-p 8545:8545 \
-p 8546:8546 \
chilizchain/ccv2-geth:latest \
--chiliz \ # for Chiliz Mainnet. Use --spicy for Spicy Testnet.
--datadir=/datadir \
--ipcdisable \
--http \
--http.addr=0.0.0.0 \
--http.api=eth,net,web3,debug,txpool \
--http.port=8545 \
--http.corsdomain="*" \
--http.vhosts="*" \
--ws \
--ws.addr=0.0.0.0 \
--ws.api=eth,net,web3,debug,txpool \
--ws.port=8546 \
--ws.origins="*" \
```

สำหรับรายละเอียดเพิ่มเติม ดูได้ที่หน้าที่ครอบคลุมกว่านี้:

{% content-ref url="/pages/ZJUYysjMhjaMHhulzi36" %}
[รัน Chiliz Chain Node](/th/phatthana/phuenthan/tho-chiliz-chain/run-node.md)
{% endcontent-ref %}

นอกจากนี้ คุณอาจสนใจการรัน Validator node:

{% content-ref url="/pages/eJerlzPvC2foSJG5NNfj" %}
[การรัน Validator Node](/th/riang-ru/validator/run-validator-node.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.chiliz.com/th/rerm-ton/toolbox.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
