Skip to content


Repository files navigation


Build Status Gitter

Zerochain is a generic privacy-protecting layer on top of Substrate. It provides some useful substrate modules and toolkit for protecting user's privacy and sensitive data stored on chain. It is designed to get efficient zero-knowledge proving, reduce the on-chain storage cost and bring the flexibility for developing applications.

Have a look at Zerochain Book for usage and more information about using Zerochain.


WARNING: Zerochain is alpha quality software, improvements and fixes are made frequently.

For now, only supported for the PoC of confidential payment inspired by Zether paper.

  • Balance for each account is encrypted
  • Transfer amount is encrypted

More features will be added... 💪💪

Initial Setup

curl -sSf | sh

rustup update stable
rustup update nightly
rustup target add wasm32-unknown-unknown --toolchain nightly
cargo +nightly install --git

You will also need to install the following packages:

  • Mac:
brew install cmake pkg-config openssl git llvm
  • Linux:
sudo apt install cmake pkg-config libssl-dev git clang libclang-dev


git clone
cd zero-chain
cargo build --release

Usage and Tutorial

Documented in Zerochain Book.

Related Repositories




  • Feel free to submit your own issues and PRs
  • For further discussions and questions talk to us on Gitter