-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(scratch): add holesky network setup
- Loading branch information
Showing
2 changed files
with
56 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
set -e +u | ||
set -o pipefail | ||
|
||
if [[ -z "$DEPLOYER" ]]; then | ||
echo "Must set DEPLOYER env variable" 1>&2 | ||
exit 1 | ||
fi | ||
if [[ -z "$RPC_URL" ]]; then | ||
echo "Must set RPC_URL env variable" 1>&2 | ||
exit 1 | ||
fi | ||
if [[ -z "$GATE_SEAL" ]]; then | ||
echo "Must set GATE_SEAL env variable" 1>&2 | ||
exit 1 | ||
fi | ||
|
||
export NETWORK=holesky | ||
export NETWORK_STATE_FILE="deployed-${NETWORK}.json" | ||
export NETWORK_STATE_DEFAULTS_FILE="deployed-testnet-defaults.json" | ||
|
||
# Holesky params: https://github.com/eth-clients/holesky/blob/main/README.md | ||
export GENESIS_TIME=1695902400 | ||
export DEPOSIT_CONTRACT=0x4242424242424242424242424242424242424242 | ||
export CHAIN_ID=17000 | ||
|
||
export GAS_PRIORITY_FEE="${GAS_PRIORITY_FEE:=1}" | ||
export GAS_MAX_FEE="${GAS_MAX_FEE:=100}" | ||
|
||
bash dao-deploy.sh |
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