Deploy a subnet
Tutorial to deploy your first custom IPC subnet
Step 1: Prepare your system
Install the basic requirements for IPC
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 -yBuilding
# 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 https://github.com/consensus-shipyard/ipc.git
cd ipc
make
# building will generate the following binaries
./target/release/ipc-cli --version
./target/release/fendermint --version# make sure that rust has the wasm32 target & use stable version of rustc
rustup target add wasm32-unknown-unknown
rustup default stable
# clone this repo and build
git clone https://github.com/consensus-shipyard/ipc.git
cd ipc/contracts
make gen
cd ..
cargo build --release
# building will generate the following binaries
./target/release/ipc-cli --version
./target/release/fendermint --versionStep 2: Initialize your config
Option A: Use Public Shared Contracts
Option B: Deploy Your Own Private Contracts
Step 3: Set up your wallets
Step 4: Create a child subnet
Step 5: Join the subnet
Step 6: Deploy the infrastructure
Step 7: Interact with your subnet using the IPC CLI
Step 8: Run a relayer
Last updated