> 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/riang-ru/krapao-ngoen/metamask/liangk-metamask.md).

# เชื่อมต่อ Chiliz Chain กับ MetaMask

เพิ่ม Chiliz Chain Mainnet และ Spicy Testnet เป็น network แบบกำหนดเองใน MetaMask โดยใช้การกำหนดค่า RPC URL และ chain ID

## ข้อกำหนดเบื้องต้น <a href="#prerequisites" id="prerequisites"></a>

1. หัวข้อนี้ถือว่าคุณได้ติดตั้ง MetaMask บนระบบของคุณแล้ว หากยังไม่ได้ติดตั้ง โปรด[ติดตั้ง MetaMask](/th/riang-ru/krapao-ngoen/metamask/tid-tang-metamask.md) (ทั้งในรูปแบบส่วนขยายสำหรับ Chrome หรือแอปพลิเคชันบนมือถือ) ก่อน
2. เพื่อความสะดวกของคุณ ให้ปักหมุด 📍 ส่วนขยาย MetaMask ไว้ที่เบราว์เซอร์ที่คุณต้องการ:

<figure><img src="https://3189658150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLHe6Yk9vM1NjniTq0hPb%2Fuploads%2Fgit-blob-d4412ed03ee85ce71ba9b9a96bba66bab1bdde31%2Fimage%20(83).png?alt=media" alt="" width="324"><figcaption></figcaption></figure>

## ขั้นตอนการเชื่อมต่อกระเป๋าเงินของคุณ

{% hint style="info" %}
คุณยังสามารถใช้เอกสารประกอบอย่างเป็นทางการของ MetaMask ได้:\
<https://support.metamask.io/configure/networks/how-to-add-a-custom-network-rpc/>
{% endhint %}

หากต้องการเชื่อมต่อกระเป๋าเงิน MetaMask ของคุณกับ Chiliz Chain Mainnet หรือ Testnet ให้ทำดังต่อไปนี้:

1. คลิกที่ไอคอน **MetaMask** เพื่อเปิดกระเป๋าเงินของคุณ (ระบบจะขอให้คุณกรอกรหัสผ่าน)

<figure><img src="https://3189658150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLHe6Yk9vM1NjniTq0hPb%2Fuploads%2Fgit-blob-7c1ea18ccff12146f16f66b80202a5892bdfb24d%2Fimage%20(84).png?alt=media" alt="" width="102"><figcaption></figcaption></figure>

2. โดยค่าเริ่มต้น กระเป๋าเงินของคุณจะเชื่อมต่อกับ Ethereum Mainnet คลิกที่เมนูแบบเลื่อนลงเพื่อขยาย แล้วเลือก **Add Network** ซึ่งจะเปิดหน้าการตั้งค่า MetaMask ในส่วน "Networks > Add a network"

<figure><img src="https://3189658150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLHe6Yk9vM1NjniTq0hPb%2Fuploads%2Fgit-blob-3263e25347aa6522492f24211a5755e084be2781%2Fimage%20(85).png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

3. ในหน้า "Add a network" คลิก "Add a network manually" แล้วใช้แบบฟอร์มกรอกค่าที่เกี่ยวข้องในช่องต่าง ๆ ของบัญชี MetaMask ของคุณ\
   \
   สำหรับการคัดลอกและวาง พารามิเตอร์สำหรับ Chiliz Chain Mainnet และ Spicy Testnet มีให้ที่นี่: [https://github.com/chiliz-chain/docs/blob/master/th/quick-start/developer-toolbox/connect-to-mainnet-and-testnet.md](https://github.com/chiliz-chain/docs/blob/master/th/quick-start/developer-toolbox/connect-to-mainnet-and-testnet.md "mention")<br>

   <figure><img src="https://3189658150-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLHe6Yk9vM1NjniTq0hPb%2Fuploads%2Fgit-blob-cbd2eb102a92f208adb71ed1f73a2e2417bb11d7%2Fimage%20(82).png?alt=media" alt=""><figcaption></figcaption></figure>
4. คลิก **Save**

{% hint style="success" %}
ปุ่ม "Save" จะเปิดใช้งานได้เฉพาะเมื่อกรอกแบบฟอร์มอย่างถูกต้องโดยใช้ค่าที่ให้ไว้เท่านั้น
{% endhint %}

เครื่องหมายถูกสีเขียว ✅ แสดงว่าคุณได้เชื่อมต่อบัญชี MetaMask ของคุณกับ Chiliz Chain Mainnet เรียบร้อยแล้ว ตอนนี้คุณสามารถเริ่มสำรวจ ปรับแต่ง และใช้งาน CHZ กับกระเป๋าเงิน MetaMask ของคุณได้แล้ว

{% hint style="info" %}
คุณต้องทำขั้นตอนเหล่านี้หนึ่งครั้งสำหรับ Chiliz Chain Mainnet และอีกหนึ่งครั้งสำหรับ Spicy Testnet\
การกำหนดค่า network หนึ่งไม่ได้หมายความว่า network อีกอันได้รับการกำหนดค่าด้วย: คุณต้องดำเนินการทั้งสองอย่างใน MetaMask
{% endhint %}


---

# 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/riang-ru/krapao-ngoen/metamask/liangk-metamask.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.
