Skip to content

Commit 15f966f

Browse files
Lane Rettigaxic
authored andcommitted
Break out geth+wagon docs
1 parent 4411e3d commit 15f966f

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
@@ -183,42 +183,7 @@ Aleth supports EVMC out of the box, but geth not yet.
183183

184184
### geth + Wagon
185185

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

223188
### Aleth (cpp-ethereum) + Hera
224189

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)