UNKNOWN
Project description
HydraChain
==========
[![Join the chat at https://gitter.im/HydraChain/hydrachain](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/HydraChain/hydrachain?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Build Status](https://travis-ci.org/HydraChain/hydrachain.svg?branch=master)](https://travis-ci.org/HydraChain/hydrachain)
HydraChain is an extension of the [Ethereum](https://ethereum.org/) platform which adds support for creating [*Permissioned Distributed Ledgers*](http://www.ofnumbers.com/2015/04/06/consensus-as-a-service-a-brief-report-on-the-emergence-of-permissioned-distributed-ledger-systems/). Its primary domain of application are [*private chain* or *consortium chain*](https://blog.ethereum.org/2015/08/07/on-public-and-private-blockchains/) setups.
Features
--------
**Full Compatibility to the Ethereum Protocol**
HydraChain is 100% compatible on an API and contract level. Existing tool chains to develop and deploy *Smart Contracts* and *ÐApps* can easily be reused.
**Accountable Validators**
The main difference is the byzantine fault tolerant consensus protocol ([*detailed here*](https://github.com/HydraChain/hydrachain/blob/master/hc_consensus_explained.md)) which does not depend on proof-of-work. Instead it relies on a registered and accountable set of validators which propose and validate the order of transactions.
**Instant Finality**
New blocks are negotiated by the validators. A quorum by the validators which signs the block is required, before it is added to the chain. Thus there will be *no forks or reverts.* Once a block is committed, the state is final.
The protocol allows for *sub second block times*. New blocks are only created in the presence of pending transactions though.
**Native Contracts**
HydraChain provides an infrastructure to develop smart contracts in the Python high level language. Benefits are significantly reduced development times and better debugging capabilities. As the Ethereum Virtual Machine is bypassed, native contract execution is also way faster.
Native Contracts support the ABI and are inter-operable with EVM based contracts written in the Solidity or Serpent languages and can co-exist on the same chain. The constraint, that all validators need to run a node configured with the same set of native contracts is well manageable in private chain settings.
**Customizability**
Many aspects of the system can be freely configured to fit custom needs. For example transaction fees, gas limits, genesis allocation, block time etc. can easily be adjusted.
**Easy Deployment**
Setting up a test network can be done with almost zero configuration. [Dockerfile templates](https://github.com/HydraChain/hydrachain/tree/master/docker) are available.
**Open Source**
The core software is open source and available under the permissive [MIT license](https://en.wikipedia.org/wiki/MIT_License).
**Commercial Support**
Consulting, support plans and custom development are offered by [brainbot technologies](http://www.brainbot.com) and a network of partners.
Upcoming Features
-----------------
*Note: We are happy to align our roadmap with the priorities of our users. If you have a certain requirement or prioritization, feel free to [file an issue](https://github.com/HydraChain/hydrachain/issues) or directly [contact us](mailto:heiko.hees@brainbot.com).*
**Documentation**
We are working on a comprehensive set of documentation which covers various deployment scenarios. This will be accompanied by a range of example contracts with a focus on use cases of the financial industry.
**Proof of Identity - KYC/AML**
An extension to ensure that all transactions in the system are between registered participants only. The goal is full audibility while preserving as much privacy as possible.
**Selective State Sharing**
Non-validating users of the system which must not know complete state (e.g. all transactions), are still able to verify the results of transaction and the state of contracts they interact with.
**Chain Inter-Operability**
Multi-chain setups can solve scalability and privacy requirements.
As the term *Hydra* in the name already hints, that the software will support to run a node which concurrently participates in multiple chains. Next to other applications, this allows to support cross chain asset transfers as a native feature.
Setup & Invocation
------
**Installation**
> git clone https://github.com/HydraChain/hydrachain
> cd hydrachain
> python setup.py develop
**Multiple nodes in a single process**
> hydrachain -d datadir runmultiple --num_validators=3 --seed=42
**Multiple nodes in multiple processes on the same machine**
> hydrachain -d <datadir> rundummy --num_validators=3 --seed=42 --node_num=0
Example how to run three nodes in three terminals:
> hydrachain -d datadir0 rundummy --node_num=0
> hydrachain -d datadir1 rundummy --node_num=1
> hydrachain -d datadir2 rundummy --node_num=2
The `rundummy` command automatically configures a setup for `num_validator` nodes (instances of the application) which are running on the same machine. The node id of each instance can be specified by `--node_num=<int>` and `--seed=<int>` can be used to configure a different set of keys for all nodes.
**Multiple nodes in a single docker daemon**
See the [Dockerfile templates](https://github.com/HydraChain/hydrachain/tree/master/docker)
Status: Work in Progress
------------------------
- 27.11.2015 - v0.1.0 - Automate PyPI release process
- 26.11.2015 - v0.0.7 - Various fixes; first PyPI release
- 21.11.2015 - v0.0.6 - Various fixes
- 21.10.2015 - v0.0.4 - Run multiple node instances in the same process
- 16.10.2015 - v0.0.3 - Update docker configuration
- 18.09.2015 - Added zero config docker compose files
- 09.09.2015 - Initial release, work in progress.
==========
[![Join the chat at https://gitter.im/HydraChain/hydrachain](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/HydraChain/hydrachain?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Build Status](https://travis-ci.org/HydraChain/hydrachain.svg?branch=master)](https://travis-ci.org/HydraChain/hydrachain)
HydraChain is an extension of the [Ethereum](https://ethereum.org/) platform which adds support for creating [*Permissioned Distributed Ledgers*](http://www.ofnumbers.com/2015/04/06/consensus-as-a-service-a-brief-report-on-the-emergence-of-permissioned-distributed-ledger-systems/). Its primary domain of application are [*private chain* or *consortium chain*](https://blog.ethereum.org/2015/08/07/on-public-and-private-blockchains/) setups.
Features
--------
**Full Compatibility to the Ethereum Protocol**
HydraChain is 100% compatible on an API and contract level. Existing tool chains to develop and deploy *Smart Contracts* and *ÐApps* can easily be reused.
**Accountable Validators**
The main difference is the byzantine fault tolerant consensus protocol ([*detailed here*](https://github.com/HydraChain/hydrachain/blob/master/hc_consensus_explained.md)) which does not depend on proof-of-work. Instead it relies on a registered and accountable set of validators which propose and validate the order of transactions.
**Instant Finality**
New blocks are negotiated by the validators. A quorum by the validators which signs the block is required, before it is added to the chain. Thus there will be *no forks or reverts.* Once a block is committed, the state is final.
The protocol allows for *sub second block times*. New blocks are only created in the presence of pending transactions though.
**Native Contracts**
HydraChain provides an infrastructure to develop smart contracts in the Python high level language. Benefits are significantly reduced development times and better debugging capabilities. As the Ethereum Virtual Machine is bypassed, native contract execution is also way faster.
Native Contracts support the ABI and are inter-operable with EVM based contracts written in the Solidity or Serpent languages and can co-exist on the same chain. The constraint, that all validators need to run a node configured with the same set of native contracts is well manageable in private chain settings.
**Customizability**
Many aspects of the system can be freely configured to fit custom needs. For example transaction fees, gas limits, genesis allocation, block time etc. can easily be adjusted.
**Easy Deployment**
Setting up a test network can be done with almost zero configuration. [Dockerfile templates](https://github.com/HydraChain/hydrachain/tree/master/docker) are available.
**Open Source**
The core software is open source and available under the permissive [MIT license](https://en.wikipedia.org/wiki/MIT_License).
**Commercial Support**
Consulting, support plans and custom development are offered by [brainbot technologies](http://www.brainbot.com) and a network of partners.
Upcoming Features
-----------------
*Note: We are happy to align our roadmap with the priorities of our users. If you have a certain requirement or prioritization, feel free to [file an issue](https://github.com/HydraChain/hydrachain/issues) or directly [contact us](mailto:heiko.hees@brainbot.com).*
**Documentation**
We are working on a comprehensive set of documentation which covers various deployment scenarios. This will be accompanied by a range of example contracts with a focus on use cases of the financial industry.
**Proof of Identity - KYC/AML**
An extension to ensure that all transactions in the system are between registered participants only. The goal is full audibility while preserving as much privacy as possible.
**Selective State Sharing**
Non-validating users of the system which must not know complete state (e.g. all transactions), are still able to verify the results of transaction and the state of contracts they interact with.
**Chain Inter-Operability**
Multi-chain setups can solve scalability and privacy requirements.
As the term *Hydra* in the name already hints, that the software will support to run a node which concurrently participates in multiple chains. Next to other applications, this allows to support cross chain asset transfers as a native feature.
Setup & Invocation
------
**Installation**
> git clone https://github.com/HydraChain/hydrachain
> cd hydrachain
> python setup.py develop
**Multiple nodes in a single process**
> hydrachain -d datadir runmultiple --num_validators=3 --seed=42
**Multiple nodes in multiple processes on the same machine**
> hydrachain -d <datadir> rundummy --num_validators=3 --seed=42 --node_num=0
Example how to run three nodes in three terminals:
> hydrachain -d datadir0 rundummy --node_num=0
> hydrachain -d datadir1 rundummy --node_num=1
> hydrachain -d datadir2 rundummy --node_num=2
The `rundummy` command automatically configures a setup for `num_validator` nodes (instances of the application) which are running on the same machine. The node id of each instance can be specified by `--node_num=<int>` and `--seed=<int>` can be used to configure a different set of keys for all nodes.
**Multiple nodes in a single docker daemon**
See the [Dockerfile templates](https://github.com/HydraChain/hydrachain/tree/master/docker)
Status: Work in Progress
------------------------
- 27.11.2015 - v0.1.0 - Automate PyPI release process
- 26.11.2015 - v0.0.7 - Various fixes; first PyPI release
- 21.11.2015 - v0.0.6 - Various fixes
- 21.10.2015 - v0.0.4 - Run multiple node instances in the same process
- 16.10.2015 - v0.0.3 - Update docker configuration
- 18.09.2015 - Added zero config docker compose files
- 09.09.2015 - Initial release, work in progress.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hydrachain-0.1.3.tar.gz
(34.6 kB
view details)
Built Distribution
File details
Details for the file hydrachain-0.1.3.tar.gz
.
File metadata
- Download URL: hydrachain-0.1.3.tar.gz
- Upload date:
- Size: 34.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4bdfcd95361e2de23317ca0dcf8fe0a6e72dc35bab5c80e7da93613da74fa19 |
|
MD5 | a86584cd055195315fe3949cb11c0bd1 |
|
BLAKE2b-256 | ef5769194fb682d644ab37c4a8bd877837bc6fba99e633c9f451a56979653bbc |
File details
Details for the file hydrachain-0.1.3-py2.py3-none-any.whl
.
File metadata
- Download URL: hydrachain-0.1.3-py2.py3-none-any.whl
- Upload date:
- Size: 42.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23b3d459c7ca1b9d6a363000d71ba9572429b9866c0fe58ec27a402c86af2c49 |
|
MD5 | b201216bdd1f490aafdcc0a6f3c2b7d5 |
|
BLAKE2b-256 | 7b0e7feca837d339986309dbe96323c44aef1d3120485138ac1bbb196dcf6ed5 |