Validator Guide | How To 2 of 3 - lightiv/SkyNet GitHub Wiki

Install Akash Suite

We are going to use the binaries, install the latest version via godownloader with:

Maker you are in your home directory:

cd ~/

INSTALL TO. β€˜/bin’ WITH:

curl https://raw.githubusercontent.com/ovrclk/akash/v0.7.8-rc3/godownloader.sh | sh

The final step is to make sure that the akash binaries are available in your shell PATH.

This page contains instructions for setting the PATH on Linux.

sudo nano ~/.bashrc

Go to the bottom of the file and add/edit (~/bin might already be there):

export PATH="~/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:~/bin"

Save the file and type:

source .bashrc

To(If) UPGRADE(ING) (current installed version to new release):

curl -sSfL https://raw.githubusercontent.com/ovrclk/akash/master/godownloader.sh | sh -s -- <CURRENT VERSION> to <NEW VERSION>


Node Operations | Phase 1

Initiate the Blockchain

akashd init <TEAM NAME> --chain-id <NAME OF THE CHAIN e.g. centauri>

The above command will create the necessary configurations under ~/.akashd with the below structure:
β”œβ”€β”€ config
β”‚ β”œβ”€β”€ app.toml
β”‚ β”œβ”€β”€ config.toml
β”‚ β”œβ”€β”€ genesis.json
β”‚ β”œβ”€β”€ node_key.json
β”‚ └── priv_validator_key.json
└── data
└── priv_validator_state.json

Become a Genesis Validator

Generate a key for validating:

Add a Key using the following. This will tie it to your

export TEAM=<TEAM NAME>
akashctl keys add $TEAM
-- keyring passphrase: **************

Important: Memorize your Keyring Passphrase and store it in a safe place should you forget it. **

The output of the above should look like this:

Enter keyring passphrase: **************

  • name:
    type: local
    address: akash*****************************************
    pubkey: akashpub1add***********************************************
    mnemonic: ""
    threshold: 0
    pubkeys: []

Important write this 24 WORD MNEMONIC phrase in a safe place.
It is the only way to recover your account if you ever forget your password.

<24 WORD MNEMONIC>

Configure the Node:

Download the Genesis and Sync with Seed Nodes

Fetch released Genesis into akaskd's config directory

curl -s curl https://raw.githubusercontent.com/ovrclk/net/master/latest/genesis.json > ~/.akashd/config/genesis.json

Add seed nodes and persistent peers in config.toml

nano ~/.akashd/config/config.toml

In the file you just opened, find the following section and add the seed and persistent peer nodes, the values should be separated by a comma (,) for each key:

seeds = "[email protected]:26656"

persistent_peers = "[email protected]:26656,[email protected]:26656"

The above configuration will sync your node with below set of seeds nodes and persistent peers:

Seed nodes:
β€’ [email protected]:26656

Persistent peers:
β€’ [email protected]:26656
β€’ [email protected]:26656


Start Your Node

Our preferred method is to use a service to start the node

Fetch akashd location path and use it for 'WorkingDirectory' & 'ExecStart' in the next step

which ~/bin/akashd

The above command will output the following:

/home/<USER.NAME>/bin/akashd

Make akashd a system service

sudo nano /lib/systemd/system/akashd.service

Paste the following into the above akashd.service files:

[Unit]
Description=Akash Daemon
After=network-online.target

StartLimitIntervalSec=0

[Service]
Type=simple
Restart=always
User=<USER.NAME>
TimeoutStopSec=90s

WorkingDirectory=/home/<USER.NAME>/bin/
ExecStart=/home/<USER.NAME>/bin/akashd start --pruning nothing

[Install]
WantedBy=multi-user.target

Enable and start the system service using:

sudo systemctl enable akashd.service
sudo systemctl start akashd.service

For a one-time start use:

`akashd start --pruning nothing

⚠️ **GitHub.com Fallback** ⚠️