prysm-pulse/scripts/start-beacon-chain.sh
Ivan Martinez c2d4f5b2b8 Create bash scripts for initializing beacon chain and 8 validators (#1996)
* Create scripts for k8s and standard runs

* Add comment

* Create scripts to deploy contract, start beacon chain and validators

* Add placeholders

* Add more docs and remove uneeded tag
2019-03-15 10:42:57 -04:00

12 lines
275 B
Bash
Executable File

#!/bin/sh
DEPOSIT_CONTRACT=DEPOSITCONTRACTHERE
DATA_DIR=/tmp/beacon
rm -rf $DATA_DIR
mkdir -p $DATA_DIR
CMD="bazel run //beacon-chain -- --web3provider wss://goerli.prylabs.net/websocket"
CMD+=" --datadir $DATA_DIR --deposit-contract $DEPOSIT_CONTRACT --demo-config"
$CMD