-
Notifications
You must be signed in to change notification settings - Fork 26
/
deploy.sh
executable file
·37 lines (33 loc) · 944 Bytes
/
deploy.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# NOTE to add --broadcast flag when sending
# To use a different wallet index, add --mnemonic-indexes n where n is the index
export FOUNDRY_PROFILE=production
echo Using profile: $FOUNDRY_PROFILE
# # For Testing
# forge script \
# --rpc-url $ETH_RPC_URL \
# -vvvv \
# --unlocked \
# --slow \
# --sender $ETH_SENDER \
# scripts/DeployQ4Update.s.sol:DeployQ4UpdateETH
# For Production
# forge script \
# --rpc-url $ETH_RPC_URL \
# -vvvv \
# --mnemonic-indexes 6 \
# --ledger \
# --slow \
# --sender $ETH_SENDER \
# --gas-estimate-multiplier 150 \
# scripts/DeployQ4Update.s.sol:DeployQ4UpdateETH
# For Healthchecker
# forge script \
# --rpc-url $ETH_RPC_URL \
# -vvvv \
# --mnemonic-indexes 2 \
# --ledger \
# --slow \
# --sender $ETH_SENDER \
# --gas-estimate-multiplier 150 \
# --broadcast \
# scripts/DeployHealthChecker.s.sol:DeployHealthChecker