Skip to content

gs27/codechain

This branch is up to date with CodeChain-io/codechain:schnorr.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Hyunsik Jeong
Oct 10, 2018
96185f0 · Oct 10, 2018
Oct 8, 2018
Sep 19, 2018
Oct 8, 2018
Oct 4, 2018
Oct 7, 2018
Sep 6, 2018
Sep 21, 2018
Oct 7, 2018
Oct 8, 2018
Oct 7, 2018
Oct 8, 2018
Oct 7, 2018
May 9, 2018
Oct 8, 2018
Oct 7, 2018
Oct 7, 2018
Sep 28, 2018
Oct 10, 2018
Oct 5, 2018
Oct 7, 2018
Oct 7, 2018
Sep 6, 2018
Jul 6, 2018
Sep 18, 2018
Oct 10, 2018
Jun 18, 2018
Jun 18, 2018
Oct 7, 2018
Oct 7, 2018
Feb 4, 2018
Sep 10, 2018
Aug 21, 2018
Jul 24, 2018
May 9, 2018
Jul 18, 2018

Repository files navigation

CodeChain Build Status Gitter: CodeChain License: AGPL v3 Read the Docs

CodeChain is a programmable open source blockchain technology optimal for developing and customizing multi-asset management systems.

Build

Download CodeChain code

git clone [email protected]:CodeChain-io/codechain.git
cd codechain

Build in release mode

cargo build --release

This will produce an executable in the ./target/release directory.

Run

To run CodeChain, just run

./target/release/codechain -c solo

You can create a block by sending a parcel through JSON-RPC or JavaScript SDK.

Formatting

Make sure you run rustfmt before creating a PR to the repo. You need to install the nightly-2018-07-17 version of rustfmt.

rustup toolchain install nightly-2018-07-17
rustup component add rustfmt-preview --toolchain nightly-2018-07-17

To run rustfmt,

cargo +nightly-2018-07-17 fmt

Testing

Developers are strongly encouraged to write unit tests for new code, and to submit new unit tests for old code. Unit tests can be compiled and run with: cargo test --all. For more details, please reference Unit Tests.

User Manual

Under docs folder, run following command.

make html

User manual will be generated at docs/_build/html.

License

CodeChain is licensed under the AGPL License - see the LICENSE file for details

About

Programmable multi-asset chain

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 62.0%
  • TypeScript 21.3%
  • C 12.1%
  • C++ 2.0%
  • Java 0.6%
  • Python 0.6%
  • Other 1.4%