Launch your Denali node in 5 minutes

With this guide you’ll be able to become an AVA Denali Network Validator in 5 minutes! A script will take care of all the configuration for you.

The script has 3 main steps:

  1. Download and run the script to set up the VPS. Before moving on to the next steps, you’ll have to wait for the network to sync. This can take a while.
  2. Set up your username and password
  3. Launch the node configuration script

1 — Launch the script

1- Run the following command

curl -s https://raw.githubusercontent.com/ablockio/Auto-AVA-Denali-node-deployment/master/install_ava_node.sh | bash

The command will install all the dependencies, the AVA Gecko and launch the bootstrap of your node.

You should get the following result:

The first bootstrap of your node takes about 1 hour. Please be patient.

Now go to the directory “Auto-AVA-Denali-node-deployment”

cd Auto-AVA-Denali-node-deployment

You can now set your username and password. To do this, open the file config.json

nano config.json
config.json

Your password must contain at least 8 characters, with one upper case, one lower case, one number and one special character..

Use the keyboard arrows to navigate through the config.json file. Once you have changed your username and password, press Ctrl+X and then “Y” to save.

2 — Become a validator

To do this, execute the following command:

node launch_node.js

If you have the above result, your node is not yet synchronized. The script will try to create your wallet every 60 seconds until your node is synchronized.

Once your node is synchronized, you will see this:

Now, copy the X-Chain address and use the faucet to receive AVA: https://faucet.ava.network/

If you get the following message, it means that your balance is still 0. Don’t panic, your node still hasn’t synchronized the transaction. The script will check your balance every 30 seconds.

Once you receive AVA you will see this:

Your node is now fully set up and you can use your nodeID to check if your node is in the “pending list” on the explorer. : https://explorer.ava.network/validators

Enjoy the AVA Denali network and we hope that this tutorial helped you!

Restart your node

curl -s  https://raw.githubusercontent.com/ablockio/Auto-AVA-Denali-node-deployment/master/reboot_node.sh | bash

You should get the result below :

Your node has been rebooted.

Update your node

curl -s https://raw.githubusercontent.com/ablockio/Auto-AVA-Denali-node-deployment/master/reboot_node_update.sh | bash

You should have the following result :

Issue #1:

Follow this steps :

systemctl status avanode

If you got the following result :

Type :

ps -ef

You will kill the ./build/ava process and reboot your node.

To kill the ava process run the following command :

kill -9 1914

and reboot :

curl -s  https://raw.githubusercontent.com/ablockio/Auto-AVA-Denali-node-deployment/master/reboot_node.sh | bash

You could now retry, and get you P-chain wallet private key.

ablock links:

Website : https://ablock.io

Telegram Group: https://t.me/ablockio

Twitter : https://twitter.com/ablock_io

About AVA Labs:

Website | Whitepapers | Twitter | Discord | GitHub | Documentation | Explorer | AVA-X Accelerator | Telegram | Facebook | LinkedIn | Reddit | YouTube

Staking validator for PoS blockchains | community tools | services for blockchain networks & validator nodes. Website: ablock.io