IPC repo and ipc-cli

Overview and installation of the ipc repo.

In this step we will download and build the bitcoinscalinglabs/ipc repoarrow-up-right. This is a fork of the standard (Filecoin-based) IPC repoarrow-up-right, hence they share some functionality and dependencies. For information about what ipc-cli is and how to use it, see the ipc docsarrow-up-right.

Step 1: Download and build the ipc repo

Install the basic requirements for IPC

Also install the following dependencies (detailsarrow-up-right)

sudo apt update && sudo apt install build-essential libssl-dev mesa-opencl-icd ocl-icd-opencl-dev gcc git bzr jq pkg-config curl clang hwloc libhwloc-dev wget ca-certificates gnupg -y

Building

circle-info

NOTE: this step may take a while to compile, depending on OS version and hardware build

# make sure that rust has the wasm32 target & use stable version of rustc
rustup target add wasm32-unknown-unknown
rustup default stable

# add your user to the docker group
sudo usermod -aG docker $USER && newgrp docker

# clone this repo and build
git clone git@github.com:bitcoinscalinglabs/ipc.git
cd ipc
git checkout bitcoin
make

After following the instructions, you should now have the following binaries available:

Add the binaries to path

For ease of use we can make aliases for these binaries. You can use

Build docker images

One final thing is to build the fendermint local docker image:

To verify the image is available:

Last updated