Recommended Specifications:
Update your system:
sudo apt update && sudo apt upgrade -y
Install necessary dependencies:
sudo apt-get install git curl build-essential jq gcc snapd lz4 tmux bc -y
Remove old Go version if installed:
sudo rm -rf /usr/local/go
Install the latest Go:
wget <https://go.dev/dl/go1.21.6.linux-amd64.tar.gz>
sudo tar -xvf go1.21.6.linux-amd64.tar.gz -C /usr/local
echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> ~/.bash_profile
source ~/.bash_profile
Download the junction node binary:
wget <https://github.com/airchains-network/junction/releases/download/v0.1.0/junctiond>
chmod +x junctiond
sudo mv junctiond /usr/local/bin
Initialize the node with your chosen moniker (node name):
junctiond init <moniker>
Download the genesis file:
wget <https://github.com/airchains-network/junction/releases/download/v0.1.0/genesis.json>
cp genesis.json ~/.junction/config/genesis.json
Set up seed nodes and peers:
SEEDS="" PEERS="[email protected]:26656"
sed -i -e "s/^seeds =.*/seeds = \\\\"$SEEDS\\\\"/" $HOME/.junction/config/config.toml
sed -i -e "s/^persistent_peers =.*/persistent_peers = \\\\"$PEERS\\\\"/" $HOME/.junction/config/config.toml
Launch the node using screen
to keep it running in the background:
screen -S airchains-node
junctiond start
Create a wallet for your validator:
junctiond keys add <wallet-name>