diff --git a/install.sh b/install.sh index 55ec235..4b81c04 100755 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ # Script for setting up the project # This script assumes a unix environment -# Last modified: 21/08/2024 +# Last modified: 02/09/2024 HARDHAT_DEFAULT_PORT=8545 @@ -14,6 +14,10 @@ if ! cmd_exists yarn; then echo "Error: yarn is not installed or not in PATH"; exit 1 fi +if ! cmd_exists nc; then + echo "Error: nc (netcat) is not installed or not in PATH"; exit 1 +fi + require_ok() { if [ $? -ne 0 ]; then echo "Error: $1 failed"