> 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

## ข้อกำหนดเบื้องต้น <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="/files/NC74OKJmqyG3ZPhfev7B" 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="/files/l6LZEEJxyeRGomA3fdby" alt="" width="102"><figcaption></figcaption></figure>

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

<figure><img src="/files/7IUhyCxP0930LtArXM2P" 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="/files/aCK2Yi2K7YGZz9ewHRom" 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 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/th/riang-ru/krapao-ngoen/metamask/liangk-metamask.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.
