Go to file
Kirill Pimenov 86c2633280 Migrate to Futures in SigningQueue (#6689)
* oneshot channels instead of custom promises

* Future instead of handle_dispatch

* Even less copying

* Those explicit waits were a mistake, thanks, @tomusdrw

* No more unsafe polling

* Test for the new `is_done()` method

* Mark Futures as `#[must_use]`

* Solve most compilation warnings

* `try_ready!` is more ideomatic

* Turn spaces into tabs

* Documentation and visibility improvements

* Minor code style improvements

* Make Futures run on an explisit reactor

* Another round of code style issues

* Simplify ConfirmationReceiver type

* Flatten ConfirmationOutcome into a plain Result type

* Get rid of a separate `pending` set, it was a stupid idea

* Clarify `add_request` docs

* No need to reduce the scope of the mutex here
2017-10-17 14:50:53 +02:00
.github Add GitHub issue templates. (#6259) 2017-08-09 08:43:40 +02:00
chainspec Chainspec validation (#6197) 2017-08-02 12:50:36 +02:00
dapps Squash remaining warnings (#6789) 2017-10-16 12:31:52 +02:00
devtools v1.9.0 (#6727) 2017-10-12 23:44:02 +02:00
docker fix docker build in master 2017-07-18 16:17:33 +03:00
docs Fix CHANGLOG for 1.8.0 (#6751) 2017-10-16 09:35:02 +02:00
ethash v1.9.0 (#6727) 2017-10-12 23:44:02 +02:00
ethcore fixed failing test 2017-10-16 22:12:17 +02:00
ethcrypto updated tiny-keccak to 1.3 2017-08-07 10:06:02 +02:00
ethkey Squash remaining warnings (#6789) 2017-10-16 12:31:52 +02:00
ethstore Removes redundant mut in ethcore 2017-10-15 20:10:20 +07:00
evmbin Use memmap for dag cache (#6193) 2017-09-25 19:45:33 +02:00
evmjit v1.9.0 (#6727) 2017-10-12 23:44:02 +02:00
hash-fetch updated ethabi to version 4.0 (#6742) 2017-10-16 10:21:35 +02:00
hw Squash remaining warnings (#6789) 2017-10-16 12:31:52 +02:00
ipfs v1.9.0 (#6727) 2017-10-12 23:44:02 +02:00
js Fix sign data typo, ref #6737 (#6750) 2017-10-16 10:08:36 +02:00
json Fixed kovan chain validation (#6758) 2017-10-14 21:59:26 +02:00
local-store KeyValueDB trait uses errors instead of strings 2017-10-16 12:11:35 +02:00
logger v1.9.0 (#6727) 2017-10-12 23:44:02 +02: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 v1.9.0 (#6727) 2017-10-12 23:44:02 +02:00
panic_hook Add custom panic hook 2017-07-19 17:50:48 +00:00
parity Migrate to Futures in SigningQueue (#6689) 2017-10-17 14:50:53 +02:00
price-info Update jsonrpc dependencies and rewrite dapps to futures. (#6522) 2017-10-05 12:35:01 +02:00
rpc Migrate to Futures in SigningQueue (#6689) 2017-10-17 14:50:53 +02:00
rpc_cli updated rpc_cli and parity to rpassword 1.0 (#6774) 2017-10-16 10:20:55 +02:00
rpc_client Update jsonrpc dependencies and rewrite dapps to futures. (#6522) 2017-10-05 12:35:01 +02:00
scripts Updated systemd files for linux (#6592) 2017-09-26 18:03:18 -04:00
secret_store Merge branch 'master' into ipc_cleanup 2017-10-16 18:19:41 +02:00
snap Use git for the snap version (#6271) 2017-08-29 15:14:07 +02:00
stratum remove ipc codegen from stratum 2017-10-16 17:32:15 +02:00
sync finished removing ipc 2017-10-16 18:18:43 +02:00
updater remove ipc codegen from updater 2017-10-16 17:28:59 +02:00
util Merge pull request #6792 from paritytech/kvdb_error 2017-10-16 18:19:18 +02:00
whisper Update jsonrpc dependencies and rewrite dapps to futures. (#6522) 2017-10-05 12:35:01 +02:00
windows/ptray Better windows icon (#4804) 2017-03-08 14:42:56 +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 Separate migrations from util (#6690) 2017-10-10 20:01:27 +02:00
.gitlab-ci.yml [ci skip] move Aura test https://github.com/paritytech/parity-import-tests in nightly build 2017-07-18 16:45:58 +03:00
.gitmodules WASM contracts MVP (#5679) 2017-07-10 17:42:10 +02:00
build.rs Detect rust compiler version in Parity build script, closes 4742 (#4907) 2017-03-15 14:03:11 +01:00
Cargo.lock Migrate to Futures in SigningQueue (#6689) 2017-10-17 14:50:53 +02:00
Cargo.toml Merge branch 'master' into ipc_cleanup 2017-10-16 18:19:41 +02:00
CHANGELOG.md Fix CHANGLOG for 1.8.0 (#6751) 2017-10-16 09:35:02 +02:00
LICENSE Change to library. 2015-11-24 21:05:08 +01:00
license_header Fix whitespace (#4299) 2017-01-25 18:51:41 +01:00
README.md fix parity.io link in readme (#6617) 2017-10-02 11:21:12 +02:00
rust-toolchain rust-toolchain file on master (#6266) 2017-08-14 13:47:53 +02:00
rustfmt.toml Use memmap for dag cache (#6193) 2017-09-25 19:45:33 +02:00
SECURITY.md Update SECURITY.md 2017-07-27 15:46:26 +02:00
test.sh Fix typo (#6505) 2017-09-12 09:15:37 +02:00

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. This is fully configurable and supports a number of RPC APIs.

If you run into an issue while using parity, feel free to file one in this repository or hop on our gitter 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.7. 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.19.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. Note: if cargo fails to parse manifest try:

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

Simple one-line installer for Mac and Ubuntu

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

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 parity/scripts/parity.service to your systemd user directory (usually ~/.config/systemd/user).

  2. To pass any argument to Parity, write a ~/.parity/parity.conf file this way: ARGS="ARG1 ARG2 ARG3".

    Example: ARGS="ui --identity MyMachine".