Skip to content

Commit 38d33ee

Browse files
committed
chore(target_chains/ethereum): update deploy.sh
1 parent 8ac4b7f commit 38d33ee

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

target_chains/ethereum/contracts/deploy.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
#!/bin/bash
22
#
33
# This script deploys changes to given networks. Usage:
4-
# $ ./deploy.sh <network_a> <network_a> <...>
5-
# Network names are defined in `truffle-config.js`.
4+
# $ ./deploy.sh <version:vX.Y.Z|latest> <network_a> <network_a> <...>
5+
#
6+
# You need to set the PK environment variable to your private key.
67
#
78
# Example: Deploying to some testnet networks
8-
# $ ./deploy.sh bnb_testnet fantom_testnet mumbai
9+
# $ ./deploy.sh latest bnb_testnet fantom_testnet mumbai
910
#
1011
# Example: Deploying to some mainnet networks
11-
# $ ./deploy.sh ethereum bnb avalanche
12+
# $ ./deploy.sh v1.4.5 ethereum bnb avalanche
1213
set -euo pipefail
1314

15+
PK=$PK
16+
1417
echo "=========== Building dependencies ==========="
1518

1619
# This command also compiles the contracts if latest version is used

0 commit comments

Comments
 (0)