SmaugPool / cardano-linux-binaries

Statically linked Cardano Shelley binaries for any x64 Linux OS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cardano Linux Binaries

Linux 64-bit binaries of cardano-node and cardano-cli statically linked to musl libc to be able to run on any x86-64 Linux distribution, without any dependency.

The current configuration from IOHK is bundled too to offer a ready to run edge node that can be converted to a relay or block producer node with the appropriate configuration.

Install

mkdir cardano
cd cardano

curl -L https:/github.com/smaug-group/cardano-linux-binaries/releases/latest/download/cardano.tar.gz | tar xz

See Releases for previous releases.

Run node

./run

The node will run on port 3001.

For more information, see cardano-node documentation.

Run CLI

export CARDANO_NODE_SOCKET_PATH=`pwd`/socket
bin/cardano-cli

To enable bash auto-completion:

source <(bin/cardano-cli --bash-completion-script cardano-cli)

Notes

  • LiveView and JSON logs are enabled by default in the node config.
  • cardano-node is currently built without specific systemd support.
  • Binaries are built and released automatically by a Travis-CI job on new tags. Check the tag Travis-CI log to verify the build and the binaries SHA1 computed at the end.
  • Binaries are built using Docker and Alpine Linux, you can also copy the Dockerfile and rebuild yourself the statically linked binaries.

About

Statically linked Cardano Shelley binaries for any x64 Linux OS

License:Apache License 2.0


Languages

Language:Dockerfile 88.2%Language:Shell 11.8%