> 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 เป็นส่วนสำคัญของโปรเจกต์ที่นำไปสู่การสร้าง 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 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/phatthana/phuenthan/deploy-smart-contract.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.
