-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add contract verify on blockscout and etherscan
- Loading branch information
1 parent
436b6c3
commit c7aea18
Showing
5 changed files
with
260 additions
and
10 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,5 +1,29 @@ | ||
# This is your unsafe environment file. Assume that you will accidently expose values in this file. | ||
# Meaning, you should never store private keys associated with real funds in here! | ||
|
||
# Existing environment variables | ||
MAINNET_ENDPOINT=xxx | ||
SEPOLIA_ENDPOINT=xxx | ||
SEPOLIA_PKEY=xxx | ||
|
||
# New environment variables for contract verification | ||
|
||
# Blockscout API key | ||
# Required for verifying contracts on Blockscout-based explorers | ||
BLOCKSCOUT_API_KEY=your_blockscout_api_key_here | ||
|
||
# Etherscan API key | ||
# Required for verifying contracts on Etherscan and its variants (e.g., Polygonscan, Bscscan) | ||
ETHERSCAN_API_KEY=your_etherscan_api_key_here | ||
|
||
# Optional: Custom Blockscout API URL | ||
# Use this if you're working with a non-standard Blockscout instance | ||
# BLOCKSCOUT_API_URL=https://custom.blockscout.com/api | ||
|
||
# Optional: Custom Etherscan API URL | ||
# Use this if you're working with a network that has an Etherscan-like explorer with a different URL | ||
# ETHERSCAN_API_URL=https://api.custometherscan.com/api | ||
|
||
# You can add more network-specific API keys if needed, for example: | ||
# POLYGONSCAN_API_KEY=your_polygonscan_api_key_here | ||
# BSCSCAN_API_KEY=your_bscscan_api_key_here |
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