nimbus-eth1/tests/amphora/launch-nimbus.sh

29 lines
750 B
Bash
Raw Normal View History

#!/usr/bin/env bash
# set -Eeuo pipefail
# https://notes.ethereum.org/@9AeMAlpyQYaAAyuj47BzRw/rkwW3ceVY
# To increase verbosity: debug.verbosity(4)
# MetaMask seed phrase for address with balance is:
# lecture manual soon title cloth uncle gesture cereal common fruit tooth crater
set -eu
SCRIPT_DIR=$(cd $(dirname "$0") && pwd)
DATA_DIR=$(mktemp -d)
echo Using data dir ${DATA_DIR}
$SCRIPT_DIR/../../build/nimbus \
--log-level:TRACE \
--data-dir:"${DATA_DIR}" \
--custom-network:"$SCRIPT_DIR/amphora-interop-genesis-m1.json" \
--network:0 \
--engine-api \
--engine-api-port:8545 \
--rpc \
--nat:none --discovery:none \
--import-key:"$SCRIPT_DIR/signer-key.txt" \
--engine-signer:0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b