Go to file
Tomasz Drwięga 86f6cea29d [beta] Backports (#8011)
* Hardware-wallet/usb-subscribe-refactor (#7860)

* Hardware-wallet fix

* More fine-grained initilization of callbacks by vendorID, productID and usb class
* Each device manufacturer gets a seperate handle thread each
* Replaced "dummy for loop" with a delay to wait for the device to boot-up properly
* Haven't been very carefully with checking dependencies cycles etc
* Inline comments explaining where shortcuts have been taken
* Need to test this on Windows machine and with Ledger (both models)

Signed-off-by: niklasad1 <niklasadolfsson1@gmail.com>

* Validate product_id of detected ledger devices

* closed_device => unlocked_device

* address comments

* add target in debug

* Address feedback

* Remove thread joining in HardwareWalletManager
* Remove thread handlers in HardwareWalletManager because this makes them unused

* fixed broken logs (#7934)

* fixed broken logs

* bring back old lock order

* removed bloom groups from blockchain

* revert unrelated changes

* simplify blockchain_block_blooms

* Bump WS (#7952)

* Calculate proper keccak256/sha3 using parity. (#7953)

* Increase max download limit to 128MB (#7965)

* fetch: increase max download limit to 64MB

* parity: increase download size limit for updater service

* Detect too large packets in snapshot sync. (#7977)

* fix traces, removed bloomchain crate, closes #7228, closes #7167 (#7979)

* Remvoe generator.rs

* Make block generator easier to use (#7888)

* Make block generator easier to use

* applied review suggestions

* rename BlockMetadata -> BlockOptions

* removed redundant uses of blockchain generator and genereator.next().unwrap() calls
2018-02-28 14:59:04 +01:00
.github Update issue template and readme (#7450) 2018-01-08 09:24:49 +01:00
chainspec Chainspec validation (#6197) 2017-08-02 12:50:36 +02:00
dapps [beta] Wallet allowJsEval: true (#7913) 2018-02-16 14:33:02 +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.8.5 and 1.7.11 (#7401) 2017-12-30 01:57:44 +01:00
ethash rename hash crate to keccak-hash 2017-11-10 20:08:28 +01:00
ethcore [beta] Backports (#8011) 2018-02-28 14:59:04 +01:00
ethcrypto Get rid of clippy remainings. 2017-12-21 11:27:26 +01:00
ethkey Assorted improvements for ethstore and ethkey (#6961) 2017-12-01 11:40:07 +03:00
ethstore Backport Core PRs to beta (#7891) 2018-02-14 16:13:38 +01: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 Inject parity script to all dapps // Expand dapps to any ZIP file (#7260) 2017-12-13 09:56:35 +03:00
hw [beta] Backports (#8011) 2018-02-28 14:59:04 +01:00
ipfs removed redundant imports 2017-11-14 17:47:41 +01:00
js [beta] Bump react-qr-reader (#7943) 2018-02-19 14:28:31 +01:00
js-old [beta] Bump react-qr-reader (#7943) 2018-02-19 14:28:31 +01:00
json [Beta] Backports (#7945) 2018-02-19 16:05:21 +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 Backport Master CI PRs to Beta (#7890) 2018-02-14 16:59:16 +01:00
machine Generalize engine trait (#6591) 2017-09-26 14:19:08 +02:00
nsis Backport Master CI PRs to Beta (#7890) 2018-02-14 16:59:16 +01:00
panic_hook Add custom panic hook 2017-07-19 17:50:48 +00:00
parity [beta] Backports (#8011) 2018-02-28 14:59:04 +01:00
price-info Use https connection (#7503) 2018-01-09 12:17:01 +01:00
rpc Backport Core PRs to beta (#7891) 2018-02-14 16:13:38 +01: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 [beta] Backports (#8011) 2018-02-28 14:59:04 +01:00
secret_store Merge pull request #7331 from paritytech/secretstore_resurrect_error404 2017-12-29 05:33:47 -04:00
snap snapcraft push beta 2018-02-01 17:31:13 +03:00
stratum fix tests on patricia-trie 2017-11-17 17:12:12 +01:00
sync Backport Core PRs to beta (#7891) 2018-02-14 16:13:38 +01:00
transaction-pool Transaction Pool re-implementation (#6994) 2017-12-19 10:20:49 +01:00
updater parity-version pr reopen (#7136) 2017-12-22 09:37:39 -04:00
util [beta] Backports (#8011) 2018-02-28 14:59:04 +01:00
whisper Merge branch 'master' into whisper-testing 2017-12-06 15:23:39 +01:00
windows/ptray Updated icons (#7469) 2018-01-05 13:44:05 +01:00
.dockerignore improved dockerfile builds (#5659) 2017-05-23 12:25:41 +02:00
.editorconfig Backport Master CI PRs to Beta (#7890) 2018-02-14 16:59:16 +01:00
.gitignore Move git logging to .git-release.log (#7041) 2017-11-13 14:51:36 +01:00
.gitlab-ci.yml Beta: Gitlab Cargo Cache (#7944) 2018-02-19 15:36:12 +01: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 [beta] Backports (#8011) 2018-02-28 14:59:04 +01:00
Cargo.toml Backport Master CI PRs to Beta (#7890) 2018-02-14 16:59:16 +01:00
CHANGELOG.md Changelog for 1.8.5 and 1.7.11 (#7401) 2017-12-30 01:57:44 +01: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 Do a meaningful commit that does not contain the words "ci" or "skip" in commit message. 2018-02-15 08:25:54 +01: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 no-default-features. 2017-11-20 11:02:48 +01: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

Or join our community on Matrix: Riot: +Parity

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.

Note: if cargo fails to parse manifest try:

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

Note: When compiling a crate and you receive the following 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.