waku-rlnv2-contract/envCheck.sh
2024-05-28 17:56:10 +05:30

14 lines
299 B
Bash
Executable File

# This script is used to assert if require env vars are present for deployment
# RPC_URL: RPC URL for the network
# ACCOUNT: Accessed with `cast wallet` command
if [ -z "$RPC_URL" ]; then
echo "RPC_URL is required"
exit 1
fi
if [ -z "$ACCOUNT" ]; then
echo "ACCOUNT is required"
exit 1
fi