# Verify using Hardhat

## Verify your Contract

To verify your smart contract(s) that are already deployed, refer the instructions in [Blockscout's Hardhat Contract Verification](https://docs.blockscout.com/devs/verification/hardhat-verification-plugin#verify) page.&#x20;

Run the following command on **Plume Testnet** for instance (switch the RPC and verifier URL to Mainnet to deploy on Plume Mainnet):

```sh
npx hardhat verify --network plume-testnet <your-contract-address>
```

{% hint style="warning" %}
Make sure to replace the details in the `<your-contract-address>` with your contract address.
{% endhint %}

### Sample Output

```
Successfully submitted source code for contract
contracts/RolexYachtMaster40.sol:Lock at 0x0c14F7df7f2B0c6F55851610849BA09f97732C9B
for verification on the block explorer. Waiting for verification result...

Successfully verified contract Lock on the block explorer.
https://testnet-explorer.plume.org/address/0x0c14F7df7f2B0c6F55851610849BA09f97732C9B#code
```


---

# 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.plume.org/plume/developers/how-to-guides/how-to-verify-smart-contracts/verify-using-hardhat.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.
