Go to file
Jerome de Tychey ce390fcd75 improve building from source (#7239)
Lots of people are having trouble building from source and keep up to date. The main reason seems to be that cargo/rustup is hard to work with. The 'abort' panic strategy error is very frustrating and seems to be solved 100% of time with a clean.
 Adding those lines:
 When compiling a crate if you receive this error:
```
error: the crate is compiled with the panic strategy `abort` which is incompatible with this crate's strategy of `unwind`
```
Cleaning the repository will most likely solve the issue, try:
```
cargo clean
```
2017-12-08 10:31:21 +01:00
.github Add contributing guidelines and code of conduct. (#7157) 2017-12-06 13:15:15 +01:00
chainspec Chainspec validation (#6197) 2017-08-02 12:50:36 +02:00
dapps Fixed build && test (#7128) 2017-11-23 14:47:08 +01:00
devtools Fix ws tests. 2017-10-23 23:52:50 +02:00
docker fix docker build in master 2017-07-18 16:17:33 +03:00
docs CHANGELOG for 1.7.8, 1.7.9, 1.8.2, and 1.8.3 (#7055) 2017-11-15 11:29:07 +01:00
ethash rename hash crate to keccak-hash 2017-11-10 20:08:28 +01:00
ethcore Fix aura difficulty race (#7198) 2017-12-07 12:17:11 +01:00
ethcrypto updated tiny-keccak to 1.3 2017-08-07 10:06:02 +02:00
ethkey Assorted improvements for ethstore and ethkey (#6961) 2017-12-01 11:40:07 +03:00
ethstore Assorted improvements for ethstore and ethkey (#6961) 2017-12-01 11:40:07 +03:00
evmbin Capture traces and write some tests. 2017-10-20 16:06:36 +02:00
evmjit v1.9.0 (#6727) 2017-10-12 23:44:02 +02:00
hash-fetch rename hash crate to keccak-hash 2017-11-10 20:08:28 +01:00
hw Change keypath derivation logic (#6815) 2017-10-19 11:47:53 +02:00
ipfs removed redundant imports 2017-11-14 17:47:41 +01:00
js [ci skip] js-precompiled 20171207-145246 2017-12-07 14:53:50 +00:00
js-old Display all dapps (shell) & wallet tabs (v1) by default (#7213) 2017-12-06 16:40:24 +01:00
json Maximum uncle count transition (#7196) 2017-12-05 15:57:45 +01:00
local-store removed redundant imports 2017-11-14 17:47:41 +01:00
logger pwasm-run-test utility upgrade 2017-12-01 16:41:09 +03:00
mac v1.9.0 (#6727) 2017-10-12 23:44:02 +02:00
machine Generalize engine trait (#6591) 2017-09-26 14:19:08 +02:00
nsis Installer fixes 2017-10-29 14:42:37 +01:00
panic_hook Add custom panic hook 2017-07-19 17:50:48 +00:00
parity Removed ethcore-util dependency from ethcore-network (#7180) 2017-12-02 10:08:04 +01:00
price-info Update jsonrpc dependencies and rewrite dapps to futures. (#6522) 2017-10-05 12:35:01 +02:00
rpc Send each log as a separate notifications. (#7175) 2017-12-05 20:14:50 +03:00
rpc_cli updated rpc_cli and parity to rpassword 1.0 (#6774) 2017-10-16 10:20:55 +02:00
rpc_client Merge branch 'master' into upload-crates 2017-11-17 16:42:41 +01:00
scripts fixes typo in user config path (#7159) 2017-11-29 11:12:03 +01:00
secret_store Merge branch 'master' into upload-crates 2017-11-17 16:42:41 +01:00
snap update icon for desktop 2017-11-14 22:45:14 +03:00
stratum fix tests on patricia-trie 2017-11-17 17:12:12 +01:00
sync Removed ethcore-util dependency from ethcore-network (#7180) 2017-12-02 10:08:04 +01:00
updater remove ipc codegen from updater 2017-10-16 17:28:59 +02:00
util Removed ethcore-util dependency from ethcore-network (#7180) 2017-12-02 10:08:04 +01:00
whisper Merge pull request #7040 from paritytech/squashed_network_error_chain 2017-11-15 18:18:25 +01:00
windows/ptray Tray app fixes 2017-10-29 14:43:44 +01:00
.dockerignore improved dockerfile builds (#5659) 2017-05-23 12:25:41 +02:00
.editorconfig Fixing travis.yml 2016-07-11 18:23:24 +02:00
.gitignore Move git logging to .git-release.log (#7041) 2017-11-13 14:51:36 +01:00
.gitlab-ci.yml Complete token merge, remove unused files (#7037) 2017-11-13 13:44:51 +01:00
.gitmodules WASM contracts MVP (#5679) 2017-07-10 17:42:10 +02:00
CHANGELOG.md CHANGELOG for 1.7.8, 1.7.9, 1.8.2, and 1.8.3 (#7055) 2017-11-15 11:29:07 +01:00
Cargo.lock [ci skip] js-precompiled 20171207-145246 2017-12-07 14:53:50 +00:00
Cargo.toml pwasm-run-test utility 2017-11-26 00:06:57 +03:00
LICENSE Change to library. 2015-11-24 21:05:08 +01:00
README.md improve building from source (#7239) 2017-12-08 10:31:21 +01:00
SECURITY.md Update SECURITY.md 2017-07-27 15:46:26 +02:00
build.rs Detect rust compiler version in Parity build script, closes 4742 (#4907) 2017-03-15 14:03:11 +01:00
license_header Fix whitespace (#4299) 2017-01-25 18:51:41 +01:00
rust-toolchain Restored rust-toolchain 2017-10-30 08:05:44 +01:00
rustfmt.toml Use memmap for dag cache (#6193) 2017-09-25 19:45:33 +02:00
test.sh Fix no-default-features. 2017-11-20 11:02:48 +01:00

README.md

Parity - fast, light, and robust Ethereum client

build status Snap Status GPLv3

Join the chat!

Get in touch with us on Gitter: Gitter: Parity Gitter: Parity.js Gitter: Parity/Miners Gitter: Parity-PoA

Be sure to check out our wiki and the internal documentation for more information.


About Parity

Parity's goal is to be the fastest, lightest, and most secure Ethereum client. We are developing Parity using the sophisticated and cutting-edge Rust programming language. Parity is licensed under the GPLv3, and can be used for all your Ethereum needs.

Parity comes with a built-in wallet. To access Parity Wallet simply go to http://web3.site/ (if you don't have access to the internet, but still want to use the service, you can also use http://127.0.0.1:8180/). It includes various functionality allowing you to:

  • create and manage your Ethereum accounts;
  • manage your Ether and any Ethereum tokens;
  • create and register your own tokens;
  • and much more.

By default, Parity will also run a JSONRPC server on 127.0.0.1:8545 and a websockets server on 127.0.0.1:8546. This is fully configurable and supports a number of APIs.

If you run into an issue while using parity, feel free to file one in this repository or hop on our Gitter or Riot chat room to ask a question. We are glad to help!

For security-critical issues, please refer to the security policy outlined in SECURITY.MD.

Parity's current release is 1.8. You can download it at https://github.com/paritytech/parity/releases or follow the instructions below to build from source.


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


Install from the snap store

In any of the supported Linux distros:

sudo snap install parity --edge

(Note that this is an experimental and unstable release, at the moment)


Build from source

# download Parity code
$ git clone https://github.com/paritytech/parity
$ cd parity

# build in release mode
$ cargo build --release

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

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

Note2: When compiling a crate if you receive this error:

error: the crate is compiled with the panic strategy `abort` which is incompatible with this crate's strategy of `unwind`

Cleaning the repository will most likely solve the issue, try:

cargo clean

This will always compile the latest nightly builds. If you want to build stable or beta, do a git checkout stable or git checkout beta first.


Simple one-line installer for Mac and Ubuntu

bash <(curl https://get.parity.io -Lk)

The one-line installer always defaults to the latest beta release.

Start Parity

Manually

To start Parity manually, just run

$ ./target/release/parity

and Parity will begin syncing the Ethereum blockchain.

Using systemd service file

To start Parity as a regular user using systemd init:

  1. Copy ./scripts/parity.service to your systemd user directory (usually ~/.config/systemd/user).
  2. To configure Parity, write a /etc/parity/config.toml config file, see Configuring Parity for details.