Skip to content

Reenable verification #69

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions deploy-kovan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ writeConfigFor "kovan"

test "$(seth chain)" == "kovan" || exit 1

# Set verify contract option in Etherscan if the API key is in the config file
# etherscanApiKey=$(jq -r ".etherscanApiKey" "$CONFIG_FILE")
# if [[ "$etherscanApiKey" != "" ]]; then
# export DAPP_VERIFY_CONTRACT="yes"
# export ETHERSCAN_API_KEY=$etherscanApiKey
# fi
#Set verify contract option in Etherscan if the API key is in the config file
etherscanApiKey=$(jq -r ".etherscanApiKey" "$CONFIG_FILE")
if [[ "$etherscanApiKey" != "" ]]; then
export DAPP_VERIFY_CONTRACT="yes"
export ETHERSCAN_API_KEY=$etherscanApiKey
fi

export DEPLOY_RESTRICTED_FAUCET="no"
"$LIBEXEC_DIR"/base-deploy
Expand Down
7 changes: 7 additions & 0 deletions deploy-main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ writeConfigFor "main"

test "$(seth chain)" == "ethlive" || exit 1

#Set verify contract option in Etherscan if the API key is in the config file
etherscanApiKey=$(jq -r ".etherscanApiKey" "$CONFIG_FILE")
if [[ "$etherscanApiKey" != "" ]]; then
export DAPP_VERIFY_CONTRACT="yes"
export ETHERSCAN_API_KEY=$etherscanApiKey
fi

export DEPLOY_RESTRICTED_FAUCET="yes"
"$LIBEXEC_DIR"/base-deploy

Expand Down