JianWei8720 / energyweb-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EWF Tobalaba Client

EWF

Repository for the Energy Web Foundation client for the Tobalaba test network.

Download this repository and compile from source or get the binaries.

Binaries

Build dependencies

Parity requires Rust version 1.21.0 to build

We recommend installing Rust through rustup. If you don't already have rustup, you can install it like this:

  • Linux:

     $ curl https://sh.rustup.rs -sSf | sh

    Parity also requires gcc, g++, libssl-dev/openssl, libudev-dev and pkg-config packages to be installed.

  • OSX:

     $ curl https://sh.rustup.rs -sSf | sh

    clang is required. It comes with Xcode command line tools or can be installed with homebrew.

  • Windows Make sure you have Visual Studio 2015 with C++ support installed. Next, download and run the rustup installer from https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe, start "VS2015 x64 Native Tools Command Prompt", and use the following command to install and set up the msvc toolchain:

      $ rustup default stable-x86_64-pc-windows-msvc

Once you have rustup, install parity or download and build from source


Build from source

# download energyweb-client code
$ git clone https://github.com/energywebfoundation/energyweb-client
$ cd energyweb-client

# build in release mode
$ cargo build --release

This will produce an executable in the ./target/release subdirectory. Note: if cargo fails to parse manifest try:

$ ~/.cargo/bin/cargo build --release

Start Parity

Manually

To start Parity manually, just run

$ ./target/release/parity --chain tobalaba

and Parity will begin syncing the Tobalaba blockchain.

About

License:GNU General Public License v3.0


Languages

Language:Rust 63.5%Language:JavaScript 33.5%Language:CSS 2.2%Language:Shell 0.3%Language:C++ 0.1%Language:Swift 0.1%Language:NSIS 0.1%Language:C 0.1%Language:HTML 0.1%