# Verify a Smart Contract

{% hint style="success" %}
After creating a smart contract, it is **necessary** to verify it. \
Only **you** can do it, and you should do it as soon as the contract is deployed.
{% endhint %}

Verifying a smart contract allows you to confirm that the contract's source code corresponds to a specific contract address on the blockchain. This is crucial for transparency and trust, especially in the decentralized world of blockchain.&#x20;

Once you have deployed your smart contract on Chiliz Chain, you can verify it by using a block explorer, such as [Chiliscan](https://chiliscan.com/) (by [Routescan](https://routescan.io/)) or [Chiliz Block Explorer](https://scan.chiliz.com/) (by [Blockscout](https://www.blockscout.com/)).

{% content-ref url="verify-a-smart-contract/verify-with-chiliscan" %}
[verify-with-chiliscan](https://docs.chiliz.com/develop/basics/verify-a-smart-contract/verify-with-chiliscan)
{% endcontent-ref %}

{% content-ref url="verify-a-smart-contract/verify-with-chiliz-block-explorer" %}
[verify-with-chiliz-block-explorer](https://docs.chiliz.com/develop/basics/verify-a-smart-contract/verify-with-chiliz-block-explorer)
{% endcontent-ref %}

You can also verify your contract through the command line:

{% content-ref url="verify-a-smart-contract/verify-with-hardhat" %}
[verify-with-hardhat](https://docs.chiliz.com/develop/basics/verify-a-smart-contract/verify-with-hardhat)
{% endcontent-ref %}

Note that it might be easier for you to validate your deployed smart contract using a flattened version of it. Here is how:

{% content-ref url="verify-a-smart-contract/flatten-a-smart-contract" %}
[flatten-a-smart-contract](https://docs.chiliz.com/develop/basics/verify-a-smart-contract/flatten-a-smart-contract)
{% endcontent-ref %}

In any case, always follow the best practices!

{% content-ref url="verify-a-smart-contract/verification-best-practices" %}
[verification-best-practices](https://docs.chiliz.com/develop/basics/verify-a-smart-contract/verification-best-practices)
{% endcontent-ref %}
