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.
Check our public repository with prebuilt binaries: http://repo.casperlabs.io/casperlabs/repo/
Please refer to the Developer guide for information on running from source.
Please refer to the docker guide for information on running from docker.
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
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.
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.
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.
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.
For building of CasperLabs, please refer to the Developer guide
For running a CasperLabs node, please refer to the Validator guide