-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into validator-manager-docs
Signed-off-by: Owen <owenwahlgren@gmail.com>
- Loading branch information
Showing
7 changed files
with
139 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- | ||
title: Using Explorer | ||
description: Learn how to verify a smart contract using the official Avalanche Explorer. | ||
--- | ||
|
||
This document outlines the process of verifying a Smart Contract deployed on the Avalanche Network using the official explorer. | ||
|
||
## Contract Deployment | ||
|
||
1. Compile the smart contract using the tooling of your choice. | ||
|
||
2. Deploy the compiled smart contract to the Avalanche network. | ||
- This can be done on either the mainnet or testnet (depending on your RPC configuration) | ||
|
||
3. Upon successful deployment, you will receive: | ||
- A transaction hash | ||
- A contract address | ||
|
||
<Callout title="Note"> | ||
Ensure you save the contract address as it will be required for the verification process. | ||
</Callout> | ||
|
||
## Contract Verification | ||
|
||
1. Navigate to the official [Avalanche Explorer](https://subnets.avax.network/) and click on **Tools** dropdown menu to select **Smart Contract Verification** interface. You may need to open the [Testnet Explorer](https://subnets-test.avax.network/) in case the contract is deployed on Fuji Testnet. | ||
|
||
![](/images/verification-portal.png) | ||
|
||
2. Prepare the following files: | ||
- The contract's Solidity file (`.sol`) | ||
- The `metadata.json` file containing the ABI and metadata | ||
|
||
3. Upload the required files: | ||
- Upload the contract's Solidity file | ||
- Upload the `metadata.json` file | ||
|
||
4. Enter the contract address: | ||
- Paste the contract address obtained from the deployment step into the designated input field. | ||
|
||
![](/images/contract-addr-input.png) | ||
|
||
5. Initiate verification: | ||
- Click on the **Submit Contract** button to start the verification process. | ||
|
||
## Next Steps | ||
|
||
After submitting the contract for verification, your request will be processed shortly and you will see the below message. | ||
|
||
![](/images/verification-success.png) | ||
|
||
For any issues during deployment or verification, please reach out to the DevRel/Support team on Discord/Telegram/Slack. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.