> 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/vi/bat-dau-nhanh/hop-cong-cu-developer.md).

# Hộp Công Cụ Developer

## Kết nối với Mainnet và Testnet

Chiliz Chain có sẵn trên Mainnet cho các dự án production của bạn, và có Testnet dành cho mục đích thử nghiệm. Testnet của Chiliz được gọi là 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 %}

Để biết thêm thông tin, xem trang [Kết nối bằng RPC](/vi/phat-trien/co-ban/ket-noi-voi-chiliz-chain/ket-noi-bang-rpc.md).

## Lấy token testnet

Bạn có thể lấy token CHZ thử nghiệm miễn phí thông qua faucet, cho phép bạn thử nghiệm trên Spicy Testnet mà không phải chịu rủi ro tài chính khi test trên Chiliz Mainnet.

Hiện có hai faucet:

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

Để biết thêm chi tiết về faucet, hãy truy cập trang chuyên dụng của chúng tôi:

{% content-ref url="/pages/yXxDuXGHf5k1oloOxKcN" %}
[Nhận Token Testnet Miễn Phí](/vi/phat-trien/co-ban/nhan-token-testnet.md)
{% endcontent-ref %}

## Triển khai và xác minh hợp đồng

Xây dựng một smart contract là phần thiết yếu trong quá trình sáng tạo dẫn đến một dApp trên Chiliz Chain (hay bất kỳ blockchain nào).

Có hai bước bạn **bắt buộc** phải thực hiện sau khi đã xây dựng xong smart contract cho dApp của mình:

1. Triển khai hợp đồng trên Chiliz Chain.

{% content-ref url="/pages/jtnHrXWx8mI5jGC0icrT" %}
[Triển khai Smart Contract](/vi/phat-trien/co-ban/trien-khai-smart-contract.md)
{% endcontent-ref %}

2. Xác minh hợp đồng đó.

{% content-ref url="/pages/yUVXeLNBxH2npEwoxpaM" %}
[Xác minh Smart Contract](/vi/phat-trien/co-ban/xac-minh-smart-contract.md)
{% endcontent-ref %}

## Phiên bản Solidity & EVM

Khi viết và biên dịch hợp đồng cho Chiliz Chain, hãy sử dụng các phiên bản Solidity và EVM được khuyến nghị:

{% hint style="info" %}
**Phiên bản Solidity và EVM được khuyến nghị cho Chiliz Chain:**

* **Phiên bản trình biên dịch Solidity:** `0.8.30` (hoặc thấp hơn)
* **Phiên bản EVM mục tiêu:** `prague`
  {% endhint %}

## Chạy một Node Chiliz Chain

Việc tự vận hành node Chiliz Chain của riêng bạn mang lại sự kiểm soát và bảo mật, nhưng đòi hỏi kỹ năng kỹ thuật và tài nguyên cao hơn.

Trang này cung cấp cho bạn các thông số cần thiết để khởi chạy 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="*" \
```

Để biết thêm chi tiết, hãy xem trang đầy đủ hơn sau:

{% content-ref url="/pages/sQU0UdMX8dtO68I4ZKW5" %}
[Chạy một Node Chiliz Chain](/vi/phat-trien/co-ban/ket-noi-voi-chiliz-chain/chay-mot-node-chiliz-chain.md)
{% endcontent-ref %}

Ngoài ra, bạn có thể quan tâm đến việc chạy một node Validator:

{% content-ref url="/pages/uMBOkAwH2XdWNtGy0COx" %}
[Chạy một node Nhà xác thực](/vi/hoc-tap/tro-thanh-nha-xac-thuc/chay-mot-node-nha-xac-thuc.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 dynamically by asking a question.

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

```
GET https://docs.chiliz.com/vi/bat-dau-nhanh/hop-cong-cu-developer.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
