Build from Source
Build blockd from source using the standard Rust toolchain.
Prerequisites
Section titled “Prerequisites”- Rust 1.70+ (install)
Download
Section titled “Download”Replace VERSION with the latest release (e.g., 0.3.0-alpha.1) in the commands below.
Example: blockd-0.3.0-alpha.1-x86_64-src.tar.gz
Visit blockd releases page to download the latest release.
- Under Packages, download blockd-VERSION-src.tar.gz
- Under Other, download blockd-VERSION-shasums.txt
- Under Other, download blockd-VERSION-shasums.txt.asc
Verify & Extract
Section titled “Verify & Extract”Confirm the integrity and authenticity of the download and extract:
-
Verify signature:
Terminal window gpg --verify blockd-VERSION-shasums.txt.asc -
Verify checksum:
Terminal window sha256sum -c --ignore-missing blockd-VERSION-shasums.txt -
Extract archive:
Terminal window tar xvf blockd-VERSION-src.tar.gz
cd blockd-VERSIONcargo build --releaseConfigure
Section titled “Configure”Navigate to the binary directory, create default directories and copy a configuration template:
cd target/releasemkdir conf ; mkdir var ; mkdir datacp ../../conf/blockd.example_simple.yml conf/blockd.yml # or conf/blockd.example_tls.ymlEdit conf/blockd.yml and change values for your environment. See Configuration for details.
./blockd