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

# Validate contracts at FONSCAN

**Step 1:** Deploy your contract on the FON smart chain

**Step 2:** Go to [FON SCAN](https://fonscan.com/verified-contracts)

Click "Verify and Publish"

<figure><img src="/files/6SPTfpEXo5lLI2NCExzF" alt=""><figcaption></figcaption></figure>

**Step Three:** Fill in the correct information for your contract

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

* Contract address
* The compiler type you choose in Remix or another compiler
* Select an open source license type

**Step 4:** Enter the Solidity contract code

If enabled, you need to select "Yes" for optimization.

Constructor parameters are optional. If your contract has it, you can go to [**this page**](https://abi.hashex.org/) Generate encoded ABI json. ! ! ! information

```
The default FRC20 contract template does not have a constructor method
```

Click Verify and Publish to complete the process. Now you are ready to go!


---

# 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://docs.fonscan.io/develop/verifycontract.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.
