Setup BRP Node

Install docker

Follow the docker install instructions for your platform/architecture. instructions will be based on Ubuntu 22.04 LTS x86_64 / amd64.

Install direnv

sudo apt update
sudo apt install direnv

# bash users - add the following line to your ~/.bashrc
eval "$(direnv hook bash)"
source ~/.bashrc

# zsh users - add the following line to your ~/.zshrc
eval "$(direnv hook zsh)"
source ~/.zshrc

Install Ipfs

wget https://dist.ipfs.tech/go-ipfs/v0.18.0/go-ipfs_v0.18.0_linux-amd64.tar.gz
tar -xzvf go-ipfs_v0.18.0_linux-amd64.tar.gz
cd go-ipfs
bash install.sh
ipfs init

Copy over the delegation proof file to ~/.ipfs repo. You should have gotten this from Covalent in addition to the W3_AGENT_KEY value

mv path_to_delegation_file/proof.out ~/.ipfs/

To avoid netscan and permission issue execute the following ipfs binary application

sudo chmod -R 700 ~/.ipfs
ipfs config profile apply server

Migrate IPFS Schema to v16

wget https://dist.ipfs.tech/fs-repo-migrations/v2.0.2/fs-repo-migrations_v2.0.2_linux-amd64.tar.gz
tar -xvf fs-repo-migrations_v2.0.2_linux-amd64.tar.gz
cd fs-repo-migrations/
./fs-repo-migrations -to 16

Last updated