mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
update readme.md (#407)
fix command mistake and enable geth websocket server for beacon node
This commit is contained in:
parent
74b5f2e537
commit
090f37352e
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user