Johnny Matthews | Lotus full-node quickstart

Wanna spin up a Lotus full-node on the Filecoin network, but don't wanna have to slog through the docs? Run these commands in order to get everything built and installed super quick. This was written on 6th of April 2021.

Here’s what you need to run:

sudo apt update -y && sudo apt upgrade -y
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 && sudo apt upgrade -y
curl --proto '=https' --tlsv1.2 -sSf | sh
wget -c -O - | sudo tar -xz -C /usr/local
echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.bashrc && source ~/.bashrc
git clone
cd lotus/
make clean all
sudo make install

Now you should be able to run lotus daemon and everything will just start! If you wanna use a snapshot instead of syncing the whole chain, run: lotus daemon --import-chain instead.