mirror of
https://github.com/logos-messaging/logos-messaging-rlnv2-contract.git
synced 2026-01-14 03:43:08 +00:00
20 lines
464 B
Bash
Executable File
20 lines
464 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
|
|
# ETH_FROM: Address to send transactions from TODO: remove this after bug in foundry is fixed
|
|
|
|
if [ -z "$RPC_URL" ]; then
|
|
echo "RPC_URL is required"
|
|
exit 1
|
|
fi
|
|
|
|
if [ -z "$ACCOUNT" ]; then
|
|
echo "ACCOUNT is required"
|
|
exit 1
|
|
fi
|
|
|
|
if [ -z "$ETH_FROM" ]; then
|
|
echo "ETH_FROM is required"
|
|
exit 1
|
|
fi
|