> 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/fr/developper/notions-de-base/verifier-un-smart-contract.md).

# Vérifier un smart contract

Vérifiez les contrats Chiliz Chain déployés via Chiliscan (Routescan) ou Chiliz Block Explorer (Blockscout), avec des options Hardhat CLI et d'aplatissement.

{% hint style="success" %}
Après avoir créé un smart contract, il est **nécessaire** de le vérifier.\
Seul **vous** pouvez le faire, et vous devriez le faire dès que le contrat est déployé.
{% endhint %}

Vérifier un smart contract vous permet de confirmer que le code source du contrat correspond à une adresse de contrat spécifique sur la blockchain. C'est crucial pour la transparence et la confiance, en particulier dans le monde décentralisé de la blockchain.

Une fois que vous avez déployé votre smart contract sur Chiliz Chain, vous pouvez le vérifier en utilisant un explorateur de blocs, tel que [Chiliscan](https://chiliscan.com/) (par [Routescan](https://routescan.io/)) ou [Chiliz Block Explorer](https://scan.chiliz.com/) (par [Blockscout](https://www.blockscout.com/)).

{% content-ref url="/pages/YSIhr4fucV0a7Nih9wtn" %}
[Vérifier avec Chiliscan](/fr/developper/notions-de-base/verifier-un-smart-contract/verifier-avec-chiliscan.md)
{% endcontent-ref %}

{% content-ref url="/pages/3WQz26XE4w26iUIAFmA6" %}
[Vérifier avec Chiliz Block Explorer](/fr/developper/notions-de-base/verifier-un-smart-contract/verifier-avec-chiliz-block-explorer.md)
{% endcontent-ref %}

Vous pouvez également vérifier votre contrat via la ligne de commande :

{% content-ref url="/pages/hrHxRGF3csDNvWaAhI0q" %}
[Vérifier avec Hardhat](/fr/developper/notions-de-base/verifier-un-smart-contract/verifier-avec-hardhat.md)
{% endcontent-ref %}

Il peut être plus facile pour vous de valider votre smart contract déployé en utilisant une version aplatie de celui-ci. Voici comment procéder :

{% content-ref url="/pages/bs5gf094kDSX4QscbPgU" %}
[Aplatir un smart contract](/fr/developper/notions-de-base/verifier-un-smart-contract/aplatir-un-smart-contract.md)
{% endcontent-ref %}

Dans tous les cas, respectez toujours les bonnes pratiques !

{% content-ref url="/pages/MNN1qQKqYsTTL49GQTN3" %}
[Bonnes pratiques de vérification](/fr/developper/notions-de-base/verifier-un-smart-contract/bonnes-pratiques-de-verification.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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.chiliz.com/fr/developper/notions-de-base/verifier-un-smart-contract.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
