# Kết nối bằng RPC

Chiliz có sẵn thông qua một Mainnet cho các dự án sản xuất của bạn và có một Testnet cho mục đích thử nghiệm. Testnet của Chiliz được gọi là Spicy.

Dựa vào các điểm cuối của Chiliz Mainnet và Testnet là tiện lợi, tiết kiệm chi phí và đơn giản.

### Kết nối với 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><a href="https://rpc.ankr.com/chiliz">https://rpc.ankr.com/chiliz</a><br>or<br><a href="https://chiliz.publicnode.com

"><https://chiliz.publicnode.com></a></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><a href="https://chiliscan.com"><https://chiliscan.com></a><br>or<br><a href="https://scan.chiliz.com "><https://scan.chiliz.com></a></td></tr></tbody></table>

## Kết nối với Spicy Testnet

<table><thead><tr><th width="253">Parameter</th><th width="312">Value</th></tr></thead><tbody><tr><td>Network Name</td><td>Chiliz Spicy Testnet</td></tr><tr><td>RPC endpoint</td><td><mark style="color:blue;">https://spicy-rpc.chiliz.com/</mark><br>or<br><mark style="color:blue;">https://chiliz-spicy.publicnode.com</mark></td></tr><tr><td>RPC Websocket</td><td><mark style="color:blue;">wss://spicy-rpc-ws.chiliz.com/</mark><br>or<br><mark style="color:blue;">wss://chiliz-spicy.publicnode.com</mark></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><a href="https://testnet.chiliscan.com/">https://testnet.chiliscan.com/</a></p><p>Or<br><a href="http://spicy-explorer.chiliz.com/"><mark style="color:blue;">http://spicy-explorer.chiliz.com/</mark></a></p></td></tr></tbody></table>

{% hint style="info" %}
**Về Scoville Testnet**&#x20;

Vào tháng 5 năm 2023, chúng tôi đã thay thế Scoville Testnet bằng Spicy Testnet.

Tất cả các nhà phát triển đã triển khai hoặc dự định triển khai trên Scoville Testnet phải triển khai các thử nghiệm của họ trên Spicy Testnet thay thế vì nó sẽ được cập nhật để phản ánh trực tiếp Chiliz Chain mới.
{% endhint %}

Để biết thông tin về cách kết nối Chiliz Chain với các ví cụ thể, vui lòng sử dụng hướng dẫn [MetaMask](https://support.metamask.io/hc/en-us/articles/360043227612-How-to-add-a-custom-network-RPC) để thêm mạng tùy chỉnh theo cách thủ công.


---

# 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.chiliz.com/vi/phat-trien/co-ban/ket-noi-voi-chiliz-chain/ket-noi-bang-rpc.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.
