File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
target_chains/ethereum/contracts Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 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
1213set -euo pipefail
1314
15+ PK=$PK
16+
1417echo " =========== Building dependencies ==========="
1518
1619# This command also compiles the contracts if latest version is used
You can’t perform that action at this time.
0 commit comments