From 0e715a2a3482bdf7365dcbb440c15dde54112c9d Mon Sep 17 00:00:00 2001 From: Yuriy Glukhov Date: Tue, 24 Sep 2019 15:28:59 +0300 Subject: [PATCH] Created Running beacon node with Eth1 data (markdown) --- Running-beacon-node-with-Eth1-data.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Running-beacon-node-with-Eth1-data.md diff --git a/Running-beacon-node-with-Eth1-data.md b/Running-beacon-node-with-Eth1-data.md new file mode 100644 index 0000000..6418b25 --- /dev/null +++ b/Running-beacon-node-with-Eth1-data.md @@ -0,0 +1,9 @@ +In order to run the beacon node a stable access to an existing web3 node is needed. The web3 node default account has to have enough ETH to make the deposit to become a validator. +1. Make a deposit and generate validator private key if it doesn't exists. WARNING: This will spend 32ETH (+gas) from the default web3 account. +``` +beacon_node makeDeposits --totalValidators=1 --depositWeb3Url=ws://$WEB3_URL --depositContractAddress=$DEPOSIT_CONTRACT_ADDRESS +``` +2. Run the node +``` +beacon_node --depositWeb3Url=ws://$WEB3_URL --depositContractAddress=$DEPOSIT_CONTRACT_ADDRESS +```