Skip to content

Commit a655b1a

Browse files
Lane Rettigaxic
authored andcommitted
Break out geth+wagon docs
1 parent 1c1ac21 commit a655b1a

2 files changed

Lines changed: 30 additions & 36 deletions

File tree

README.md

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -191,42 +191,7 @@ Aleth supports EVMC out of the box, but geth not yet.
191191

192192
### geth + Wagon
193193

194-
**NOTE: this client currently is not supported fully and the instructions here may be wrong.**
195-
196-
This section describes how to run geth node with the [Wagon](http://github.com/go-interpreter/wagon) VM.
197-
198-
1. Get the code from the PR
199-
200-
```sh
201-
> go get github.com/ethereum/go-ethereum
202-
> cd $GOROOT/src/github.com/ethereum/go-ethereum
203-
> git remote add gballet git@github.com:gballet/go-ethereum.git
204-
> git fetch gballet add-ewasm
205-
> git checkout add-ewasm
206-
```
207-
208-
2. Build geth
209-
210-
```sh
211-
> go build ./cmd/geth/...
212-
```
213-
214-
3. Run geth
215-
216-
The ewasm interpreter will be activated by default as long as you do not specify a `--vm.ewasm=...` on the command line option.
217-
218-
```sh
219-
> ./geth \
220-
--datadir /tmp/ewasm-node/4201/ \
221-
--etherbase 031159dF845ADe415202e6DA299223cb640B9DB0 \
222-
--rpc --rpcapi "web3,net,eth,debug" \
223-
--rpcvhosts="*" --rpcaddr "0.0.0.0" \
224-
--rpccorsdomain "*" \
225-
--mine --miner.threads 1 \
226-
--nodiscover \
227-
--networkid 66 \
228-
--bootnodes "enode://53458e6bf0353f3378e115034cf6c6039b9faed52548da9030b37b4672de4a8fd09f869c48d16f9f10937e7398ae0dbe8b9d271408da7a0cf47f42a09e662827@23.101.78.254:30303"
229-
```
194+
The testnet has experimental support for running a geth node with the [Wagon](http://github.com/go-interpreter/wagon) third-party VM. Instructions may be found [here](wagon.md).
230195

231196
### Aleth (cpp-ethereum) + Hera
232197

wagon.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# geth + Wagon
2+
3+
**NOTE: this client currently is not supported fully and the instructions here may be wrong.**
4+
5+
[Wagon](http://github.com/go-interpreter/wagon) is a third-party WebAssembly VM written natively in Go. Support for geth + Wagon on the Ewasm testnet is experimental. This document describes how to run geth node with geth and the Wagon VM.
6+
7+
1. Get the code from the PR
8+
9+
```sh
10+
> go get github.com/ethereum/go-ethereum
11+
> cd $GOROOT/src/github.com/ethereum/go-ethereum
12+
> git remote add gballet git@github.com:gballet/go-ethereum.git
13+
> git fetch gballet add-ewasm
14+
> git checkout add-ewasm
15+
```
16+
17+
1. Build geth
18+
19+
```sh
20+
> go build ./cmd/geth/...
21+
```
22+
23+
1. Run geth
24+
25+
The ewasm interpreter will be activated by default as long as you do not specify a `--vm.ewasm=...` on the command line option.
26+
27+
```sh
28+
> TMPDIR=/tmp/ewasm-node/ ./geth --datadir $TMPDIR --etherbase 031159dF845ADe415202e6DA299223cb640B9DB0 --rpc --rpcapi "web3,net,eth,debug" --rpcvhosts="*" --rpcaddr "0.0.0.0" --rpccorsdomain "*" --mine --miner.threads 1 --nodiscover --networkid 66
29+
```

0 commit comments

Comments
 (0)