You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that the `/tmp/ewasm-node/4201` directory name above is arbitrary. It just needs to be unique.
169
-
170
-
1. Run geth with hera and connect to the testnet:
161
+
1. Run geth with hera:
171
162
172
163
Use `--vm.ewasm` flag in `geth` to plug in an EVMC VM shared library. Point it to the Hera shared library that you built a moment ago.
173
164
Additional EVMC options can be provided after a comma.
174
165
Hera options are documented in [hera](https://github.com/ewasm/hera).
175
166
176
-
Note also the `--etherbase`, `--networkid`, and `--bootnodes` commands, below, and copy them verbatim as these are required to connect to and sync with the Ewasm testnet.
177
-
178
167
The `--vmodule` argument sets the verbosity for the `eth` and `p2p` modules, which will provide lots of juicy debugging information on your node's connection to the other testnet peers, and on its mining, accepting, and propagating blocks. Feel free to reduce verbosity or turn this off.
179
168
180
-
Finally, if you want your node to participate in mining, add the arguments `--mine --miner.threads 1`.
169
+
Finally, if you want your node to mine, add the arguments `--mine --miner.threads 1`.
181
170
182
171
Check out the geth [CLI wiki page](https://github.com/ethereum/go-ethereum/wiki/Command-Line-Options) for more information on these commands, or just run `geth --help`.
183
172
184
-
Here's the recommended configuration for connecting your node to the Ewasm testnet:
173
+
Here's the recommended configuration for running a node locally:
*NOTE*: don't forget to specify `networkId` with the same value as the value of `chainID` in the genesis configuration, this is to avoid [Metamask error `Invalid Sender`](https://github.com/MetaMask/metamask-extension/issues/3673).
202
-
203
186
Note that if you want your node to be automatically restarted if it dies, and to survive system reboots, you'll want to use a tool such as [pm2](http://pm2.keymetrics.io/):
204
187
205
188
```sh
206
189
> npm install -g pm2
207
190
```
208
191
209
-
210
192
### geth + Wagon
211
193
212
194
**NOTE: this client currently is not supported fully and the instructions here may be wrong.**
@@ -246,7 +228,6 @@ This section describes how to run geth node with the [Wagon](http://github.com/g
Note that the `/tmp/ewasm-node/4201` directory name above is arbitrary. It just needs to be unique.
252
+
253
+
Note also the `--etherbase`, `--networkid`, and `--bootnodes` commands, below, and copy them verbatim as these are required to connect to and sync with the Ewasm testnet.
254
+
255
+
Don't forget to specify `networkId` with the same value as the value of `chainID` in the genesis configuration to avoid [Metamask error `Invalid Sender`](https://github.com/MetaMask/metamask-extension/issues/3673).
256
+
257
+
Run geth as above, but add the following commandline args:
0 commit comments