generated from gmh5225/foundry-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
# Avalanche-contract-template | ||
|
||
|
||
Foundry Verification (Separated Recipe) | ||
|
||
With Foundry you can verify at deployment time or verify with a separate command, be sure to add `--verifier-url` to your deploy or verify script. | ||
|
||
To verify at deployment time: | ||
``` | ||
forge script scripts/Deploy.s.sol | ||
--broadcast --rpc-url [NETWORK_RPC_URL] | ||
--verifier-url 'https://api.routescan.io/v2/network/mainnet/evm/43114/etherscan' | ||
--etherscan-api-key "verifyContract" | ||
``` |