⚒️Installation
Update packages and install useful tools.
sudo apt update && sudo apt upgrade --yes && \
sudo apt install git build-essential ufw curl jq snapd screen ncdu nano fuse ufw --yesInstall
gousingsnap.
sudo snap install go --classic && \
echo 'export GOPATH="$HOME/go"' >> ~/.profile && \
echo 'export GOBIN="$GOPATH/bin"' >> ~/.profile && \
echo 'export PATH="$GOBIN:$PATH"' >> ~/.profile && \
source ~/.profile && \
go versionBuild the binary from source.
git clone https://github.com/okp4/okp4d
cd okp4d
git checkout v4.0.0
make install
okp4d versionInitialize your node.
okp4d init <node_name> --chain-id okp4-nemeton-1Download genesis.
wget -O $HOME/.okp4d/config/genesis.json https://raw.githubusercontent.com/okp4/networks/main/chains/nemeton-1/genesis.jsonAdd persistent peers to
config.toml.
Set up pruning (optional).
Create service file.
Enable and start service.
Last updated