Installation
Manual node setup
If you want to setup Selfchain fullnode manually follow the steps below
Update and upgrade
sudo apt update -y
sudo apt-get install -y git jq lz4 build-essential make gcc curl
sudo apt update -yInstall GO
if ! [ -x "$(command -v go)" ]; then
ver="1.20.3"
cd $HOME
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz"
rm "go$ver.linux-amd64.tar.gz"
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile
source ~/.bash_profile
fiInstall node
Setting up vars
You should replace values in <> <YOUR_MONIKER> Here you should put name of your moniker (validator) that will be visible in explorer <YOUR_WALLET> Here you shoud put the name of your wallet
Configure your node
Initialize your node
Download genesis & addrbook
(OPTIONAL) Set custom ports
If you want to use non-default ports
Set seeds and peers
Config pruning
Set minimum gas price and kv indexer
Create Service
Reset blockchain info and restart your node
(OPTIONAL) Use State Sync
Starting a validator
1. Add a new key
(OR)
1. Recover your key
2. Create validator
Set up Price-feeder
Install docker compose
Get docker compose file
Get config and sql.init files
Create and fund price-feeder wallet using Faucet
Set manually these fields in config.yaml file
Delegate rights to feeder
Run your feeder
Check logs
Last updated