Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 12 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,31 +103,22 @@ The testnet currently only supports the [go-ethereum](https://github.com/ethereu

### Geth

You may install and configure geth in the following ways:
Configuring geth requires installing prerequisites, downloading and compiling geth from source with [EVMC](https://github.com/ethereum/evmc) support, downloading and building [Hera](https://github.com/ewasm/hera/) (the Ewasm virtual machine connector), then launching geth with Hera set as its EVMC engine.

- manually, from source
- using this preconfigured Docker image
Make sure the prerequisites are installed (Go version 1.7 or later, `cmake` 3.5 or later, and a C/C++ compiler). On CentOS-flavored Linux (e.g., Amazon Linux) you can use the following commands:

#### Manual configuration

Manually configuring geth requires installing prerequisites, downloading and compiling geth from source with [EVMC](https://github.com/ethereum/evmc) support, downloading and building [Hera](https://github.com/ewasm/hera/) (the Ewasm virtual machine connector), then launching geth with Hera set as its EVMC engine.

1. Make sure the prerequisites are installed (Go version 1.7 or later, `cmake` 3.5 or later, and a C/C++ compiler).

On CentOS-flavored Linux (e.g., Amazon Linux) you can use the following commands:

```sh
> sudo yum groupinstall "Development Tools"
> wget https://cmake.org/files/v3.12/cmake-3.12.2-Linux-x86_64.sh
> sudo bash cmake-3.12.2-Linux-x86_64.sh --prefix=/usr/local
> sudo yum install go
```
```sh
> sudo yum groupinstall "Development Tools"
> wget https://cmake.org/files/v3.12/cmake-3.12.2-Linux-x86_64.sh
> sudo bash cmake-3.12.2-Linux-x86_64.sh --prefix=/usr/local
> sudo yum install go
```

On Ubuntu/Debian-flavored system the following commands should work:
On Ubuntu/Debian-flavored system the following commands should work:

```sh
> sudo apt-get install build-essential make cmake golang
```
```sh
> sudo apt-get install build-essential make cmake golang
```

## geth + Hera

Expand Down