DO NOT use the latest version of OpenEthereum (3.1+), as it does not include important POSDAO features needed for xDai. Version 3.0.1 supports xDai, as does 3.0.0 and 2.7.2. Download binaries here for Linux, Mac & Windows: https://github.com/openethereum/parity-ethereum/releases Note: if binary does not come up, check the url to ensure it includes parity-ethereum rather than forwarding to the new repo.
These instructions are copied from the OpenEthereum wiki.
Linux
Download the latest release from the link above
Make the openethereum file executable by running chmod u+x openethereum
Launch OpenEthereum: ./openethereum --chain xdai --no-warp
The --no-warp
flag is recommended if you want all historical data, but will take much longer to sync. For a faster sync, you do not need to use it. More information on --no-warp
Mac
Download the mac binary.
Open a terminal and navigate to the directory using cd /path/to/binary/folder/
.
Make the binary executable by running chmod +x openethereum
.
You can now double click on the binary.
Windows Download the binary and double click on it.
For Linux systems:
Ubuntu, Debian
$ apt-get install build-essential cmake libudev-dev
CentOS
$ yum install libudev-devel$ yum group install "Development Tools"
openethereum --chain xdai --no-warp
--no-warp
flag is optional: more information.
If you would like to limit or choose specific bootnodes, you can obtain the bootnodes.txt file from POA github:
git clone -b dai https://github.com/poanetwork/poa-chain-spec.git
enter all supplied enodes for the desired network separated by a comma, no space
openethereum --chain xdai --bootnodes enode://[email protected]:PORT,enode://[email protected]:PORT
You can use Ethereum's JSON-RPC or a JavaScript console.
You can use Remix connected to a local OpenEthereum full node for smart contracts development and deployment. Make sure that Remix is allowed to connect to your node by setting up the right JSON-RPC cors policy.