Skip to content

wimel/CasperLabs

 
 

Repository files navigation

CasperLabs

The open-source CasperLabs project is building a decentralized, economic, censorship-resistant, public compute infrastructure and blockchain. It will host and execute programs popularly referred to as “smart contracts”. It will be trustworthy, scalable, concurrent, with proof-of-stake consensus and content delivery.

Download

Check our public repository with prebuilt binaries: http://repo.casperlabs.io/casperlabs/repo/

Running

Running from source

Please refer to the Developer guide for information on running from source.

Running from Docker

Please refer to the docker guide for information on running from docker.

Running from the tar-ball

Artifacts are published to http://repo.casperlabs.io/casperlabs/repo

You can run from the packaged archive for example as follows:

$ ARCHIVE=http://repo.casperlabs.io/casperlabs/repo/dev/casperlabs-node-0.0.tgz
$ curl -s -o casperlabs-node.tgz $ARCHIVE
$ tar -xzf casperlabs-node.tgz
$ ./casperlabs-node-0.0/bin/casperlabs-node --version
Casper Labs Node 0.0

Installing and running on Debian from DEB package

CLI client tool

Build from sources

Prerequisites for building from source:

  • dpkg-deb
  • dpkg-sig
  • dpkg-genchanges
  • lintian
  • fakeroot
  • sbt
  • JDK >= 8

Execute sbt client/debian:packageBin. Resulted .deb package will be placed in the client/target/ directory.

Installation

Prerequisites for installation:

  • openjdk-11-jre-headless
  • openssl

Install using sudo dpkg -i client/target/casperlabs-client-0.0.1.deb.

After installation run casperlabs-client -- --help for printing help message.

Installing and running on RedHat and Fedora from RPM package

CLI client tool

Build from sources

Prerequisites for building from source:

  • rpm
  • rpm-build
  • sbt
  • JDK >= 8

Execute sbt client/rpm:packageBin. Resulted .deb package will be placed in the client/target/rpm/RPMS/ directory.

Installation

Prerequisites for installation:

  • java-11-openjdk-headless
  • openssl

Install using sudo rpm -U client/target/rpm/RPMS/noarch/casperlabs-client-0.0.1.noarch.rpm.

After installation run casperlabs-client -- --help for printing help message.

Developer guide

For building of CasperLabs, please refer to the Developer guide

Validator guide

For running a CasperLabs node, please refer to the Validator guide

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 77.6%
  • Python 11.0%
  • Rust 9.4%
  • Other 2.0%