This commit is contained in:
Para Dox
2025-04-21 10:50:45 +07:00
parent 0dd9af2905
commit 056e59248d
7 changed files with 10 additions and 8 deletions

View File

@@ -20,15 +20,17 @@ CONFIG_DIR="/root/.beacond/config"
# Create config directory
mkdir -p "$CONFIG_DIR"
#JWTSECRET="0x$(cat /jwtsecret)" # reth and bepolia don't speak the same language
JWTSECRET="$(cat /jwtsecret)" # needs to go to the config dir (default path)
P2P_STRING="tcp:\\/\\/0\\.0\\.0\\.0\\:${P2P_PORT:-55696}"
NAT_STRING="${IP}:${P2P_PORT:-55696}"
#echo "$JWTSECRET" > "$CONFIG_DIR/jwt.hex"
echo "$JWTSECRET" > "$CONFIG_DIR/jwt.hex"
#SEEDS_URL="https://raw.githubusercontent.com/berachain/beacon-kit/main/testing/networks/$CHAINID/cl-seeds.txt"
env
# this goes first because it won't overwrite shit
apk add curl
if [ $? -ne 0 ]; then exit 1; fi