# Xác minh với Chiliz Block Explorer

Chiliz Block Explorer là dịch vụ được xây dựng bởi Blockscout. Do đó, bạn có thể dựa vào tài liệu của họ cho việc sử dụng hàng ngày.

Chúng tôi ở đây tái sản xuất một phần tài liệu của họ cho việc xác thực hợp đồng.

## Các Bước

1. Khi mã đã được triển khai, bạn có thể xem chi tiết giao dịch trên Chiliz Block Explorer.

<figure><img src="https://1710337568-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmZJvhONLDDh8SVE6LN63%2Fuploads%2Fix5Jl5ogod8Xcw6QrNTb%2Fimage.png?alt=media&#x26;token=1a22be00-c9a6-4de6-bffa-7f5a3e2629bb" alt=""><figcaption></figcaption></figure>

2. Chọn tab Code để bắt đầu xác minh hợp đồng của bạn.

<figure><img src="https://1710337568-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmZJvhONLDDh8SVE6LN63%2Fuploads%2FZtQ0CtOxW1qg0ww2pyTm%2Fimage.png?alt=media&#x26;token=1f2edfdd-3fe3-4eb4-b2ec-3c52b3133766" alt=""><figcaption></figcaption></figure>

3. Sao chép và lưu Copy Contract Creation Code để tham khảo trong tương lai.

<figure><img src="https://1710337568-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmZJvhONLDDh8SVE6LN63%2Fuploads%2Fr4qBvOLfPBFnlymnSRNF%2Fimage.png?alt=media&#x26;token=3f7d833a-302f-49d1-b961-3eb3162d6e17" alt=""><figcaption></figcaption></figure>

4. Chọn 'Xác minh & Xuất bản'.

<figure><img src="https://1710337568-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmZJvhONLDDh8SVE6LN63%2Fuploads%2F9mQCEQlshPs9InJX5tuR%2Fimage.png?alt=media&#x26;token=20817f30-34f7-46b3-8c4f-5f38242cd6c7" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**HÔNG TIN**

Để xác minh hợp đồng thông minh của bạn, hãy giữ sẵn những chi tiết sau:

* Tên Hợp Đồng
* Trình Biên Dịch
* Phiên Bản EVM
* Tối Ưu Hóa
  {% endhint %}

5. Nhập các chi tiết cần thiết vào các trường tương ứng. Sao chép mã hợp đồng thông minh được sử dụng để biên dịch hợp đồng thông minh. Dán nó vào trường 'Nhập Mã Hợp Đồng Solidity'.

<figure><img src="https://1710337568-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmZJvhONLDDh8SVE6LN63%2Fuploads%2F0BMAqwdPEZ1Lz2H0uEUT%2Fimage.png?alt=media&#x26;token=6ac8624f-e76c-469f-8769-c830935367b3" alt=""><figcaption></figcaption></figure>

Bảng sau đây giải thích chi tiết mẫu 'New Smart Contract Verification'.

<table><thead><tr><th width="324">Parameter</th><th>Description </th></tr></thead><tbody><tr><td>Contract Address</td><td>The address provided after contract creation</td></tr><tr><td>Contract Name</td><td>Name of the contract given whilst creating the contract</td></tr><tr><td>Include nightly builds</td><td>Select <em>Yes</em> to add nightly build values to your report. It also depends on your compiler.</td></tr><tr><td>Compiler</td><td>Compiler version used while deploying the contract</td></tr><tr><td>EVM version</td><td>Use the dropdown and select the same EVM version used to deploy the contract</td></tr><tr><td>Optimisation</td><td>Select Yes, if you have enabled Optimisation while compiling the contract</td></tr><tr><td>Enter the Solidity Contract Code</td><td>Enter the ERC-20 script used to compile the smart contract</td></tr><tr><td>Try to fetch constructor arguments automatically</td><td>Choice to fetch constructor arguments</td></tr><tr><td>ABI-encoded Constructor Arguments (if required by the contract)</td><td>Choice to fetch constructor arguments, only if the contract requires</td></tr><tr><td>Add Contract Libraries</td><td>Enter the name and 0x address for any required libraries called in the called in the <code>.sol</code> file</td></tr></tbody></table>

6. Hợp đồng của bạn đã được xác minh ✅.

<figure><img src="https://1710337568-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmZJvhONLDDh8SVE6LN63%2Fuploads%2FIBUGrLDEnSa0PgslkCWw%2Fimage.png?alt=media&#x26;token=9255d4d0-d955-4e1e-94fb-21a718befa2c" alt=""><figcaption></figcaption></figure>

Cứ thoải mái khám phá thêm Block Explorer!
