# What's Contract Verification

> Contract verification is essentially **open-sourcing** your contract code :pencil2:

Contract verification allows smart contract developers to prove and publish the **source code** of the contracts deployed on-chain :white\_check\_mark: .

You may have come across some of them when browsing the [**Contract tab**](https://xdc.blocksscan.io/address/0x5d5f074837f5d4618b3916ba74de1bf9662a3fed?tab=contract#code) of any contract address on XDC BlocksScan Explorer.

<figure><img src="/files/ossKvP4BqoriRzxP7kBf" alt=""><figcaption></figcaption></figure>

## How do I verify a contract I've deployed ? <a href="#how-do-i-verify-a-contract-ive-deployed" id="how-do-i-verify-a-contract-ive-deployed"></a>

If you've deployed your contract using an online tool such as Remix, or OpenZeppelin's Contract Wizard, consider using the [**contract verification**](https://xdc.blocksscan.io/contracts/verify) page.

<figure><img src="/files/rBBs1b0RHqiz31XKEwD6" alt=""><figcaption></figcaption></figure>

If you've deployed your contract using a development tool such as Hardhat, Foundry, Truffle and so on, consider using [**plugins**](/contract-verification/contract-verification-plugins.md) to automate the verification process.

<figure><img src="/files/iZzpcBgQj1FfEKvw41yK" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.blocksscan.io/contract-verification/whats-contract-verification.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
