How to deploy and run a node of Avalanch on Akash dApp

Hello, friends! This guide will help you to deploy and run a node of Avalanche on Akash dApp!

Before installing Akash, we need to define environment variables:

Install Akash (Linux)

Create a wallet

default1” is an example. You can choose any name, that you want.

You will need to create and confirm passphrase.
Keep it safely! You will need it!

(!!!) You need to save the mnemonic phrase, and carefully keep it in secret! Never share your mnemonic phrase with nobody!
Wallet recovery will be impossible, without mnemonic phrase!

(!!) We will never use address with name “default1”, because we showed mnemonic phrase of it.
In the next steps we will use another address with the name “default”, not “default1”.
In your case, at the places of “default1” and “default”, must be the name that you’ve created by yourself.

(!) Copy your address, you will need it in the next step!

Defining variables with the name and address of the wallet

If you haven’t any errors — everything is good!

Buy $AKT and send it to your address

You can buy $AKT at many different exchanges. List of the exchanges you can find on the main web-page of Akash Network: https://akash.network/token

Check the balance

The amount of $AKT shown in uAKT
1,000,000 uAKT = 1 $AKT

Create a certificate

Enter your passphrase to sing the transaction

Congratulations!
At this point, the installation of Akash is complete!

Deploy the configuration file with the avalanchego image

Create a configuration file deploy.yml

Important!

  • The address “akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63” is the address of the escrow account. Don’t change it!
  • The variable PASSWORD must be assign as SSH-password of your node!
  • The CPU, memory and size parameters in example configuration are set close to the minimum. In real use it’s necessary to increase them!

The system requirements for Avalanchego are:
CPU: Equivalent of 8 AWS vCPU
RAM: 16 GB
Storage: 200 GB

Deploying the configuration

Enter your passphrase to sing the transaction

You will get the information about transaction.
Copy the hash of transaction (txhash) — you will need it in the next step.

In our exmple it’s:
FBB1521AD7DD232B9B77C404C38FC793B05F995DB74935C4D663C20306149B5D
You will have another txhash.

Checking the status of the installation

In the output of this command, we are interested in the dseq value.
In our exmple it’s:
2498329
You will have another dseq

Defining variables

If you haven’t any errors — everything is good!

Checking the deployment status

Determine the bids that can be used for our configuration

In the output of this command, we are interested in the provider value.
In our exmple it’s:
akash14c4ng96vdle6tae8r4hc2w4ujwrshdddtuudk0
You will have another provider

Assign the variable provider-address

If you haven’t any errors — everything is good!

Rent the selected provider

Enter your passphrase to sing the transaction

After a few seconds, check the status

Loading the manifest for our image

Enter your passphrase to sing the transaction

Get access data

Enter your passphrase to sing the transaction

We are interested in host and externalPort.
In this example, we are connecting to our node:

The password is defined in the deploy.yml file

We can also view the logs of our node:

Enter your passphrase to sing the transaction

The node is configured according to the official documentation, skipping the installation stage:
https://docs.avax.network/build/tutorials/nodes-and-staking/run-avalanche-node

That’s all, friends! Whish you a good deployment!

--

--

https://github.com/Distributed-Validators-Synctems/Self-Identity/blob/main/cyberG.md

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store