From 090f37352e8bd176c7f0a76202260df11a84804c Mon Sep 17 00:00:00 2001 From: Mr Fox Date: Fri, 17 Aug 2018 07:40:17 +0800 Subject: [PATCH] update readme.md (#407) fix command mistake and enable geth websocket server for beacon node --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c6ea2e9742..ff4521a6db 100644 --- a/README.md +++ b/README.md @@ -73,8 +73,8 @@ The `alloc` portion specifies account addresses with prefunded ETH when the Ethe Then, you can build and init a new instance of a local, Ethereum blockchain as follows: ``` -geth init /path/to/genesis.json -datadir /path/to/your/datadir -geth --nodiscover console --datadir /path/to/your/datadir --networkid 12345 +geth init /path/to/genesis.json --datadir /path/to/your/datadir +geth --nodiscover console --datadir /path/to/your/datadir --networkid 12345 --ws --wsaddr=127.0.0.1 --wsport 8546 --wsorigins "*" ```` It is **important** to note that the `--networkid` flag must match the `chainId` property in the genesis file.