Go to file
Svyatoslav Nikolsky 1a262048a6 Fixing secretstore TODOs - part 2 (#5416)
* ECDKG protocol prototype

* added test for enc/dec math

* get rid of decryption_session

* added licenses

* fix after merge

* get rid of unused serde dependency

* doc

* decryption session [without commutative enc]

* failed_dec_session

* fixed tests

* added commen

* added more decryption session tests

* helper to localize an issue

* more computations to localize error

* decryption_session::SessionParams

* added tests for EC math to localize problem

* secretstore network transport

* encryption_session_works_over_network

* network errors processing

* connecting to KeyServer

* licenses

* get rid of debug println-s

* fixed secretstore args

* encryption results are stored in KS database

* decryption protocol works over network

* enc/dec Session traits

* fixing warnings

* fix after merge

* on-chain ACL checker proto

* fixed compilation

* fixed compilation

* finally fixed <odd>-of-N-scheme

* temporary commented test

* 1-of-N works in math

* scheme 1-of-N works

* updated AclStorage with real contract ABI

* remove unnecessary unsafety

* fixed grumbles

* wakeup on access denied

* encrypt secretstore messages

* 'shadow' decryption

* fix grumbles

* lost files

* secretstore cli-options

* decryption seccion when ACL check failed on master

* disallow regenerating key for existing document

* removed obsolete TODO

* fix after merge

* switched to tokio_io

* fix after merge

* fix after merge

* fix after merge

* fix after merge

* fix after merge

* fixed test

* fix after merge

* encryption session errors are now fatal

* session timeouts

* autorestart decryption session

* remove sessions on completion

* exclude disconnected nodes from decryption session

* test for enc/dec session over network with 1 node

* remove debug printlns

* fixed 1-of-1 scheme

* drop for KeyServerHttpListener

* added some tests

* fixed typo
2017-04-25 21:34:03 +02:00
dapps WebSockets RPC server (#5425) 2017-04-13 16:32:07 +02:00
devtools v1.7 (#4730) 2017-03-07 17:29:27 +01:00
docker fix for Ubuntu Dockerfile 2017-03-30 23:18:06 +03:00
ethash updating dependencies (#5028) 2017-03-28 19:06:08 +02:00
ethcore Merge pull request #5454 from paritytech/aura-contract-warp 2017-04-25 17:58:13 +02:00
ethcrypto easy to use conversion from and to string for ethstore::Crypto (#5437) 2017-04-11 10:24:56 +02:00
ethkey Fixing secretstore TODOs - part 1 (#5386) 2017-04-08 11:26:16 +02:00
ethstore added missing docs (#5452) 2017-04-13 14:26:07 +02:00
evmbin EIP-86 (#4697) 2017-04-19 14:30:00 +02:00
evmjit v1.7 (#4730) 2017-03-07 17:29:27 +01:00
hash-fetch Fix removal of hash-mismatched files. (#5440) 2017-04-12 15:04:53 +02:00
hw Updating paths to repos. (#5330) 2017-03-29 15:17:27 +02:00
ipc Updating paths to repos. (#5330) 2017-03-29 15:17:27 +02:00
ipc-common-types updating dependencies (#5028) 2017-03-28 19:06:08 +02:00
ipfs Dapps and RPC server merge (#5365) 2017-04-03 10:27:37 +02:00
js [ci skip] js-precompiled 20170425-082717 2017-04-25 08:31:15 +00:00
json EIP-86 (#4697) 2017-04-19 14:30:00 +02:00
local-store rlp deserialization refactor, 30% faster (#4901) 2017-03-22 14:41:46 +01:00
logger updating dependencies (#5028) 2017-03-28 19:06:08 +02:00
mac Various installer and tray apps fixes (#4970) 2017-03-23 13:25:31 +01:00
nsis Updating paths to repos. (#5330) 2017-03-29 15:17:27 +02:00
parity Fixing secretstore TODOs - part 2 (#5416) 2017-04-25 21:34:03 +02:00
rpc Merge branch 'master' into aura-contract-warp 2017-04-19 20:43:24 +02:00
rpc_cli WebSockets RPC server (#5425) 2017-04-13 16:32:07 +02:00
rpc_client WebSockets RPC server (#5425) 2017-04-13 16:32:07 +02:00
scripts Add the packaging metadata to build the parity snap (#5496) 2017-04-25 16:20:57 +02:00
secret_store Fixing secretstore TODOs - part 2 (#5416) 2017-04-25 21:34:03 +02:00
signer WebSockets RPC server (#5425) 2017-04-13 16:32:07 +02:00
stratum updating dependencies (#5028) 2017-03-28 19:06:08 +02:00
sync Merge branch 'master' into aura-contract-warp 2017-04-19 20:43:24 +02:00
updater Avoid clogging up tmp when updater dir has bad permissions. (#5024) 2017-03-24 19:03:59 +01:00
util fix tests 2017-04-20 15:04:07 +02:00
windows/ptray Better windows icon (#4804) 2017-03-08 14:42:56 +01:00
.editorconfig Fixing travis.yml 2016-07-11 18:23:24 +02:00
.gitignore Cancel tx JS (#4958) 2017-04-25 10:08:09 +02:00
.gitlab-ci.yml WebSockets RPC server (#5425) 2017-04-13 16:32:07 +02:00
.gitmodules Removing submodule in favour of rust crate (#2756) 2016-10-22 20:07:12 +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 Fixing secretstore TODOs - part 2 (#5416) 2017-04-25 21:34:03 +02:00
Cargo.toml WebSockets RPC server (#5425) 2017-04-13 16:32:07 +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 Update README.md 2017-04-18 14:55:25 +02:00
rustfmt.toml Some tuning of rustfmt 2016-04-13 17:39:20 +02:00
test.sh Enable Panic=abort (#3423) 2016-12-08 11:31:57 +01:00

Parity

Fast, light, and robust Ethereum implementation

Download latest release

build status Coverage Status GPLv3

Join the chat!

Parity Join the chat at https://gitter.im/ethcore/parity and parity.js Join the chat at https://gitter.im/ethcore/parity.js

Internal Documentation

Be sure to check out our wiki 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!

Parity's current release is 1.6. 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.16.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


Quick build and install

cargo install --git https://github.com/paritytech/parity.git parity

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".