> For the complete documentation index, see [llms.txt](https://cascadia.gitbook.io/gitbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cascadia.gitbook.io/gitbook/developers/solidity/verification.md).

# Verification

**What is Smart Contract verification?**

Smart contract verification is the process of ensuring that the source code of a smart contract matches the bytecode that is deployed on the blockchain. This is done by recompiling the source code and comparing it to the bytecode. If the two match, then the contract has been verified successfully.

**How does Smart Contract verification work?**

When a smart contract is compiled, the compiler generates executable bytecode and an Application Binary Interface (ABI). The Ethereum Virtual Machine (EVM) executes the assembly instructions contained in the bytecode.

The process of compiling decouples the source code from the bytecode that is deployed on the blockchain. This means that the source code and the bytecode are no longer linked together. As a result, it is possible to have a difference between the source code and the bytecode.

**Do you need to verify Smart Contracts?**

There are several important reasons to verify your smart contracts:

* **Transparency:** Smart contract verification provides additional transparency to the information flow and shares the intentions of your smart contract. This allows users to be confident that the contract is working as intended.
* **Trustlessness:** Smart contract verification contributes to the trustlessness of the entire ecosystem. This is because it allows users to verify that the contract is working as intended, without having to trust the developer.
* **Tooling:** Smart contract verification enables numerous features of third party platforms, including transaction decoding, analytics, alerting, simulations, and other web3 Actions. These features can be used to improve the security and functionality of your smart contracts.


---

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

```
GET https://cascadia.gitbook.io/gitbook/developers/solidity/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.
