Go to file
Svyatoslav Nikolsky 8b9adb4d74 Secretstore RPCs + integration (#5439)
* 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

* Use standard encryption and decryption (as in RPC)

* added some tests

* moved DEFAULT_MAC to ethcrypto

* rpc_secretstore_encrypt_and_decrypt

* serialization with "0x" prefix (RPC compatibility)

* secretstore RPC API

* fix after merge

* fixed typo

* secretstore_shadowDecrypt RPC

* enable secretstore RPCs by default

* fixed test

* SecStore RPCs available without SecStore feature

* fixed grumbles

* lost files

* added password argument to Parity RPCs

* update docs

* lost file
2017-05-05 14:57:29 +01: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 update CentOS dockerfile 2017-04-28 01:17:20 +03:00
ethash Memory usage optimization (#5526) 2017-05-02 11:40:03 +02:00
ethcore Pass additional data when reporting (#5527) 2017-05-03 09:01:24 +02:00
ethcrypto Secretstore RPCs + integration (#5439) 2017-05-05 14:57:29 +01:00
ethkey Support external eth_sign (#5481) 2017-04-27 18:23:22 +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 find . -type f -not -path './.*' -exec sed -i -e "s/ethcore\.io/parity.io/g" {} \; (#5528) 2017-05-02 11:41:09 +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 20170505-084643 2017-05-05 08:50:23 +00:00
json EIP-86 (#4697) 2017-04-19 14:30:00 +02:00
local-store option to disable persistent txqueue (#5544) 2017-05-04 12:13:50 +02: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 Secretstore RPCs + integration (#5439) 2017-05-05 14:57:29 +01:00
rpc Secretstore RPCs + integration (#5439) 2017-05-05 14:57:29 +01:00
rpc_cli find . -type f -not -path './.*' -exec sed -i -e "s/ethcore\.io/parity.io/g" {} \; (#5528) 2017-05-02 11:41:09 +02:00
rpc_client WebSockets RPC server (#5425) 2017-04-13 16:32:07 +02:00
scripts fix docker build (ethcore+parity hub's) 2017-05-04 23:46:25 +03:00
secret_store Secretstore RPCs + integration (#5439) 2017-05-05 14:57:29 +01: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 Memory usage optimization (#5526) 2017-05-02 11:40:03 +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 npm cleanups (#5512) 2017-04-26 12:38:21 +02:00
.gitlab-ci.yml fix docker build (ethcore+parity hub's) 2017-05-04 23:46:25 +03:00
.gitmodules Removing submodule in favour of rust crate (#2756) 2016-10-22 20:07:12 +02:00
CHANGELOG.md Add CHANGELOG.md (#5513) 2017-05-02 12:08:48 +02:00
Cargo.lock Secretstore RPCs + integration (#5439) 2017-05-05 14:57:29 +01: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
README.md find . -type f -not -path './.*' -exec sed -i -e "s/ethcore\.io/parity.io/g" {} \; (#5528) 2017-05-02 11:41:09 +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
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://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".