From bbc956c92f7e8daea10f11e20f2a32a7e8ea07da Mon Sep 17 00:00:00 2001 From: Rainer Koirikivi Date: Wed, 29 May 2024 12:14:06 +0100 Subject: [PATCH] Don't ask for the "etherium" URL on startup --- start.sh | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/start.sh b/start.sh index 5fa2f2cb..508fae4a 100755 --- a/start.sh +++ b/start.sh @@ -42,24 +42,6 @@ echo "$TELEGRAM_KEY" > /home/ubuntu/Bridge-SC/federator-env/$FED_ENV/telegram.ke sed -i 's/federatorInstanceId_replace_this/'"$FED_ID-$FED_ENV"'/g' /home/ubuntu/Bridge-SC/federator-env/$FED_ENV/config.js -if [ "$FED_ENV" = "mainnet-ETH-RSK" ]; then - echo "Enter etherium mainnet RPC url:" - read ETHER_RPC - echo $(cat /home/ubuntu/Bridge-SC/federator-env/$FED_ENV/mainnet.json | jq --arg args "$ETHER_RPC" '."host"=$args') > /home/ubuntu/Bridge-SC/federator-env/$FED_ENV/mainnet.json -fi - -if [ "$FED_ENV" = "testnet-ETH-RSK" ]; then - echo "Enter etherium testnet RPC url:" - read ETHER_RPC - echo $(cat /home/ubuntu/Bridge-SC/federator-env/$FED_ENV/sepolia.json | jq --arg args "$ETHER_RPC" '."host"=$args') > /home/ubuntu/Bridge-SC/federator-env/$FED_ENV/sepolia.json -fi - -if [ "$FED_ENV" = "rinkeby-ETH-RSK" ]; then - echo "Enter etherium testnet RPC url:" - read ETHER_RPC - echo $(cat /home/ubuntu/Bridge-SC/federator-env/$FED_ENV/rinkeby.json | jq --arg args "$ETHER_RPC" '."host"=$args') > /home/ubuntu/Bridge-SC/federator-env/$FED_ENV/rinkeby.json -fi - echo "Enter Federator public address:" read FED_ADDRESS