Skip to content

Cosmos Ecosystem Node Manager / Installer / Wallet / Monitor

Notifications You must be signed in to change notification settings

nexusecurus/cosmosnodeman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cosmos Ecosystem Node / Wallet / Monitor Manager

powered by NexuSecurus™

NexuSecurus

Supported HW Target OS Code Stats Audience Type Dependencies License




IMPORTANT NOTE

All functions included in this script came from chain daemon/binary, the most important one to point is WALLET SEED GENERATION, which is created using the embedded functionality within the chain app. In any situation, the seed is shared or compromised by us.

Feel free to audit the code.



Project Description

What started has a simple script for installing nodes in the COSMOS ECOSYSTEM, came out to be a little more than just that.

The original idea wasn't this extensive, so, as you would expect, its a code with several additions and therefore not fully optimized, but, IT WORKS, HOPEFULLY ;)

This project repo aims to simplify COSMOS ECOSYSTEM Node and Validator Installations while exploring all the capabilities of the NODE, such as WALLET, MONITOR embedded commands and more.

The program was tested even in a Ubuntu Server Minimized setup, to ensure that it would work even in the most package depleted OS.





Key Features

Menu Based Program


Manage Nodes - Manage option like: Create, Remove, Start, Stop, Prune...

Wallet Included - Create, Remove, Change Active Wallet, Send Funds, Receive Funds...

Monitoring - Several options to help the user monitoring the Node Health Status.

Validator Options - Features like, View Validator Info, Claim commissions, Unjail Validators, and more to come.





Table of Contents






Program Requirements


- Ubuntu based Linux OS (Wre recommend Ubuntu Server Minimized, to avoid unnecessary software cluttering)
- 2 vCPUs Minimum for Nodes (4 vCPUs recommended or more)
- 4 VCPUs Minimum for Validators (Above 4.0GHz, under that 8 vCPUs recommended or more)
- 6GB RAM Minimum for Nodes (we recommend 8GB RAM or more)
- 16GB RAM Minimum for Validators (Strongly recommend 32GB RAM)
- 60GB to 500GB Disk Space (Depending on Node Type, and Pruning Strategy)
- Internet Connection ;

Installation Procedure


1 - Dependencies and Package Requirements:

All dependencies and required packages for the correct execution of this program, will be installed when the script is executed for the first time.


2 - Clone the repository into your machine:

Clone this repository to your machine using the following commands:

    git clone https://github.com/nexusecurus/cosmosnodeman.git

3 - Make the script file executable:

For the script to be executed, you must add execution permission to the file:

    chmod +x setup.sh

4 - Change /Chains/"ChainFile".txt

    Open the chain file under [Chains](/chains/) of the chain you want to interact, and edit the VARIABLES that match your desire, such as:


        - MONIKER ; (MUST CHANGE TO THE MONIKER YOU WANT TO USE FOR YOUR NODE)
        - PORT_PREFIX ; ( Default: 266 )
        - DAEMON_HOME ; (Default: $HOME )


    And if you want to install a different version of the Chain Binary:

        - BIN_VER ;


    All other VARIABLES should not be changed or it will make the program to malfunction.



Additional information / Documentation (MUST READ!!!)


This section contains crucial information on what files need to be present for the program to work, in case you dont want to clone the full repo.

The main program file is setup.sh, but it will not present any chains to interact with when executed, if the Chains folder is not present in the same directory of the main program.



Usage


Fresh Install

After cloning the repository and making the program file executable as instructed above, the only remaining is the program execution.


Run the following command inside nexusnodes directory:

    ./setup.sh

Already Existent Nodes

If you have already an installed NODE on your system, first of all you need to assure that a .txt file named as the Chain name EX: Cosmos.txt, and inside that file, the following VARS are correctly declared:

- MONIKER - # Add your MONIKER NODE name.
- PORT_PREFIX - # (Default: 266) If you are using custom ports change this.
- DAEMON_HOME - # (Default: $HOME) If you installed your previous node in a different directory, change this.

Then you can run the program with the above command.




KNOWN Issues & Bugs:


There are some random exits from the program from time to time. Outside that, it does its job relatively well.



Screenshots

Screenshot 1 style= Screenshot 2 Screenshot 3 Screenshot 4


Screenshot 5 style= Screenshot 6 Screenshot 7 Screenshot 8



About the Author





Contribute To Our Effort



Asset Address
CosmosHub cosmos1ravucs2erl88yn07eyudkhzekswcyw8mhy5lpc
Osmosis osmo1ravucs2erl88yn07eyudkhzekswcyw8mll80h2
AKASH akash1ravucs2erl88yn07eyudkhzekswcyw8m6leccz
Source Protocol source1ravucs2erl88yn07eyudkhzekswcyw8m3hdp3x
Teritori tori1ravucs2erl88yn07eyudkhzekswcyw8m4srk6g


Cosmos Ecosystem