Deploy nodes (RPC,validator)

Validator node deployment on Akash Network.

Node deployment:

Select a project and deploy the deploy.yml file using Cloudmos (instructions for use here). If you use the projects that we have prepared, then you just need to enter your values in the variables listed below in deploy.yml, leave the rest unchanged:

- "SSH_KEY=" - Public ssh-key for connecting via SSH (user root). If it is not specified, the SSH service will not be installed.
- "MONIKER=" - Node name.
- "VALIDATOR_KEY_JSON_BASE64=" - Paste the contents of the priv_validator_key.json file encrypted with BASE64 *.

If you want to deploy an RPC node without a validator key - missing delete this environment VALIDATOR_KEY_JSON_BASE64. The node runs on the generated priv_validator_key.json.

If you deployed the project node yourself, then here is a list of available environment in deploy.yml:

- "GITHUB_REPOSITORY=" - Link to the project repository that will be cloned into the container and inside which
                           getting a compilation of a binary file.
- "BINARY_LINK=" link to compiled binary file or archive with it.*
- "BINARY_VERSION=" The version or commit of the binary you want to compile (can only use
                      with GITHUB_REPOSITORY populated).
- "RPC=" - External RPC node used to check STATE SYNC, find effective peers, read GENESIS file.
- "GENESIS=" - Link to genesis.json file. With this capability, reading from RPC will be disabled.
- "PEERS=" - Enter a list of peers separated by commas, in this case, automatic search will be disabled.
- "SEEDS=" - Enter a list of seeds separated by commas.
- "DENOM=" - Manual setting of the nominal value of the token.
- "CHAIN=" - Manual setting of chain-id.
- "STATE_SYNC=enable" - enable state sync(disable default).
- "SNAPSHOT=" - Link to lz4 network snapshot archive. Use in conjunction with STATE_SYNC=off.
* When building BINARY_LINK, you must add a BINARY variable - containing the name
binary file.

If you don't have priv_validator_key.json, refer to this manual.

By going to the forwarded port 26657, in the LEASES tab, you can view websocket of the node, where its up-to-date information was available.

Thank you for using Akash Network!

Last updated