Go to file
Svyatoslav Nikolsky 93a6047912 Fixing secretstore TODOs - part 1 (#5386)
* 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
2017-04-08 11:26:16 +02:00
dapps Fixing disappearing content. 2017-04-05 11:37:45 +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 #5318 from paritytech/snapshot-v2 2017-04-07 14:45:42 +02:00
ethcrypto Secretstore over network (#4974) 2017-04-03 11:13:51 +02:00
ethkey Fixing secretstore TODOs - part 1 (#5386) 2017-04-08 11:26:16 +02:00
ethstore Wordlist from crate (#5331) 2017-04-01 13:26:44 +07:00
evmbin updating dependencies (#5028) 2017-03-28 19:06:08 +02:00
evmjit v1.7 (#4730) 2017-03-07 17:29:27 +01:00
hash-fetch Dapps and RPC server merge (#5365) 2017-04-03 10:27:37 +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 20170405-145308 2017-04-05 14:58:00 +00:00
json Aura eip155 validation transition (#5362) 2017-04-01 13:21:22 +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 1 (#5386) 2017-04-08 11:26:16 +02:00
rpc Merge branch 'master' into lightcli 2017-04-03 12:44:52 +02:00
rpc_cli Port `try` macro to new `?` operator. (#3962) 2016-12-27 12:53:56 +01:00
rpc_client Updating paths to repos. (#5330) 2017-03-29 15:17:27 +02:00
scripts Update cov.sh 2017-04-04 12:51:54 +03:00
secret_store Fixing secretstore TODOs - part 1 (#5386) 2017-04-08 11:26:16 +02:00
signer Updating paths to repos. (#5330) 2017-03-29 15:17:27 +02:00
stratum updating dependencies (#5028) 2017-03-28 19:06:08 +02:00
sync Merge branch 'master' into lightcli 2017-04-03 08:58:20 +02:00
updater Avoid clogging up tmp when updater dir has bad permissions. (#5024) 2017-03-24 19:03:59 +01:00
util Compact chunks 2017-03-31 16:31:12 +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 Only ignore parity.* files in root 2016-12-12 15:43:24 +01:00
.gitlab-ci.yml Update .gitlab-ci.yml 2017-04-05 21:40:12 +03:00
.gitmodules Removing submodule in favour of rust crate (#2756) 2016-10-22 20:07:12 +02:00
Cargo.lock Fixing secretstore TODOs - part 1 (#5386) 2017-04-08 11:26:16 +02:00
Cargo.toml Merge branch 'master' into lightcli 2017-04-03 12:44:52 +02:00
LICENSE Change to library. 2015-11-24 21:05:08 +01:00
README.md Straight download path in the readme (#5393) 2017-04-04 15:46:42 +03: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
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

README.md

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://127.0.0.1:8080/. 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".