> 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/phatthana/phuenthan/deploy-smart-contract.md).

# Deploy Smart Contract

ปรับใช้ smart contract บน Chiliz Chain โดยใช้ Remix IDE หรือ thirdweb พร้อมข้อกำหนดค่าธรรมเนียม gas ขั้นต่ำ (2,501 gwei) และลิงก์ไปยังคู่มือการยืนยัน

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

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

1. ปรับใช้สัญญาบน Chiliz Chain
2. ยืนยันสัญญานั้น

ส่วนนี้มุ่งเน้นที่การปรับใช้ smart contract

{% hint style="success" %}
เพื่อให้แน่ใจว่าธุรกรรมการปรับใช้ของคุณจะไม่ค้างอยู่ในสถานะ "pending" นานเกินไป คุณควรใส่จำนวนที่เพียงพอเพื่อครอบคลุมค่าธรรมเนียม:

* ค่าธรรมเนียม gas ขั้นต่ำ: 2,501 gwei
* ค่าธรรมเนียม priority ขั้นต่ำ: 1 gwei
  {% endhint %}

หากต้องการปรับใช้ smart contract ของคุณบน Chiliz Chain เราแนะนำให้เลือกหนึ่งในตัวเลือกต่อไปนี้:

{% content-ref url="/pages/VrKCqlsE2K3MWhudSDG2" %}
[Deploy ด้วย Remix](/th/phatthana/phuenthan/deploy-smart-contract/deploy-remix.md)
{% endcontent-ref %}

{% content-ref url="/pages/7Rq1tecGo2HcX1adc5iF" %}
[Deploy ด้วย thirdweb](/th/phatthana/phuenthan/deploy-smart-contract/deploy-thirdweb.md)
{% endcontent-ref %}

{% hint style="success" %}
หลังจากสร้าง smart contract แล้ว **จำเป็น**ต้องยืนยันสัญญานั้น\
**คุณ**เท่านั้นที่สามารถดำเนินการได้ และควรทำทันทีหลังจากปรับใช้สัญญาแล้ว
{% endhint %}

{% content-ref url="/pages/xWLPjhumWNjqmyL6az1o" %}
[Verify Smart Contract](/th/phatthana/phuenthan/verify-smart-contract.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/phatthana/phuenthan/deploy-smart-contract.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.
