> 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/vi/phat-trien/co-ban/trien-khai-smart-contract.md).

# Triển khai Smart Contract

Xây dựng smart contract là một phần thiết yếu trong quá trình sáng tạo dẫn đến một dApp cho Chiliz Chain — hoặc bất kỳ blockchain nào.

Có hai bước bạn **phải** thực hiện sau khi đã xây dựng xong smart contract cho dApp của mình:

1. Triển khai hợp đồng lên Chiliz Chain.
2. Xác minh hợp đồng đó.

Phần này tập trung vào việc triển khai smart contract.

{% hint style="success" %}
Để đảm bảo giao dịch triển khai của bạn không bị kẹt ở trạng thái "đang chờ xử lý" quá lâu, bạn nên đảm bảo đủ để trang trải phí:

* Gas fee tối thiểu: 2.501 gwei.
* Priority fee tối thiểu: 1 gwei.
  {% endhint %}

Để triển khai smart contract trên Chiliz Chain, chúng tôi khuyên bạn sử dụng một trong các lựa chọn sau:

[Triển khai với Remix](/vi/phat-trien/co-ban/trien-khai-smart-contract/trien-khai-voi-remix.md)

[Triển khai với thirdweb](/vi/phat-trien/co-ban/trien-khai-smart-contract/trien-khai-voi-thirdweb.md)

{% hint style="success" %}
Sau khi tạo smart contract, việc xác minh nó là **bắt buộc**.\
Chỉ có **bạn** mới có thể thực hiện điều này, và bạn nên làm ngay sau khi hợp đồng được triển khai.
{% endhint %}

[Xác minh Smart Contract](/vi/phat-trien/co-ban/xac-minh-smart-contract.md)


---

# 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/vi/phat-trien/co-ban/trien-khai-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.
