Skip to content

Commit

Permalink
fix: README misses init genesis instruction (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
DNK90 authored Mar 13, 2023
1 parent 9cba5d7 commit 3718d25
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,16 @@ or, to build the full suite of utilities:
make all
```

### Init genesis

Before running a full node, init genesis block is necessary
```shell
ronin init genesis/mainnet.json --datadir /opt/ronin
```

### Full node on the main Ronin network


```shell
$ ronin --http.api eth,net,web3,consortium --networkid 2020 --bootnodes enode://a166ab6437cf370bc604097529a0fb6a8a4836bb85833fbf588b130cb73fe0517940d10c5d89c0e3e1c2800a774ac1ae2108d62cb4608556e41bc1fc4482241a@35.193.159.26:30303 --datadir /opt/ronin --port 30303 --http --http.corsdomain '*' --http.addr 0.0.0.0 --http.port 8545 --http.vhosts '*' --ws --ws.addr 0.0.0.0 --ws.port 8546 --ws.origins '*'
```
Expand Down

0 comments on commit 3718d25

Please sign in to comment.