> 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/xac-minh-smart-contract.md).

# Xác minh Smart Contract

{% hint style="success" %}
Sau khi tạo một smart contract, việc xác minh nó là **bắt buộc**.\
Chỉ **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 một smart contract cho phép bạn xác nhận rằng mã nguồn của hợp đồng tương ứng với một địa chỉ hợp đồng cụ thể trên blockchain. Đây là điều thiết yếu để đảm bảo tính minh bạch và độ tin cậy, đặc biệt trong thế giới phi tập trung của blockchain.

Sau khi bạn đã triển khai smart contract của mình trên Chiliz Chain, bạn có thể xác minh nó bằng cách sử dụng một block explorer, chẳng hạn như [Chiliscan](https://chiliscan.com/) (bởi [Routescan](https://routescan.io/)) hoặc [Chiliz Block Explorer](https://scan.chiliz.com/) (bởi [Blockscout](https://www.blockscout.com/)).

[Xác minh với Chiliscan](/vi/phat-trien/co-ban/xac-minh-smart-contract/xac-minh-voi-chiliscan.md)

[Xác minh với Chiliz Block Explorer](/vi/phat-trien/co-ban/xac-minh-smart-contract/xac-minh-voi-block-explorer.md)

Bạn cũng có thể xác minh hợp đồng của mình qua dòng lệnh:

[Xác minh với Hardhat](/vi/phat-trien/co-ban/xac-minh-smart-contract/xac-minh-voi-hardhat.md)

Lưu ý rằng đôi khi sẽ dễ dàng hơn cho bạn khi xác thực smart contract đã triển khai bằng cách sử dụng phiên bản đã được làm phẳng (flattened) của nó. Đây là cách thực hiện:

[Flatten một Smart Contract](/vi/phat-trien/co-ban/xac-minh-smart-contract/flatten-smart-contract.md)

Trong mọi trường hợp, hãy luôn tuân theo các thực hành tốt nhất!

[Thực hành tốt nhất khi xác minh](/vi/phat-trien/co-ban/xac-minh-smart-contract/thuc-hanh-tot-nhat.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/xac-minh-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.
