Boost
Search…
Getting started
This section details how to get started with Boost if you are a storage provider or as a client
The Boost source code repository is hosted at github.com/filecoin-project/boost

Boost and Lotus compatibility Matrix

Boost Version
Lotus Version
v1.0.0
v1.15.x
v1.1.0
v1.16.x
v1.1.1
v1.16.x
v1.2.0
v1.16.x
v1.3.0
v1.17.0, v1.17.1
v1.4.0
v1.17.0, v1.17.1

Building and installing

Prerequisites

Please make sure you have installed: Go - following https://go.dev/learn/
Node 16.x
Linux / Ubuntu
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt install mesa-opencl-icd ocl-icd-opencl-dev gcc git bzr jq pkg-config curl clang build-essential hwloc libhwloc-dev wget -y
MacOS
brew install node
brew install bzr jq pkg-config hwloc coreutils

Linux

Depending on your architecture, you will want to export additional environment variables:
export RUSTFLAGS="-C target-cpu=native -g"
export FFI_BUILD_FROM_SOURCE=1
git clone https://github.com/filecoin-project/boost
cd boost
make build
sudo make install
Please ignore any output or onscreen instruction during the npm build unless there is an error.

MacOS

export LIBRARY_PATH=$LIBRARY_PATH:/opt/homebrew/lib
git clone https://github.com/filecoin-project/boost
cd boost
make build
sudo make install
Please ignore any output or onscreen instruction during the npm build unless there is an error.

Upgrading Boost

Linux

1. Make sure that Boost daemon is not running. Run the below commands to upgrade the binary.
cd boost
git pull
make build
sudo make install
2. Please ignore any onscreen instruction during the npm build unless there is an error.
3. Start the boost daemon.

MacOS

1. Make sure that Boost daemon is not running. Run the below commands to upgrade the binary.
export LIBRARY_PATH=$LIBRARY_PATH:/opt/homebrew/lib
cd boost
git pull
make build
sudo make install
2. Please ignore any onscreen instruction during the npm build unless there is an error.
3. Start the boost daemon.
Copy link
On this page
Boost and Lotus compatibility Matrix
Building and installing
Upgrading Boost