- **Monitoring Tools**: Provides tools to check the status, logs, and synchronization of the node for troubleshooting and maintenance.
---
## Menu Options
The script provides an interactive menu with the following options:
1.**Install-Dependency**
Installs all required dependencies such as software packages and tools necessary for running the Ghost node.
2.**Install-Ghost**
Downloads and installs the Ghost node software.
3.**Bind-NAT**
Configures NAT settings and sets up port 30333 , 9945 bindings for the node.
4.**Setup-Ghost**
The **Setup-Ghost** option builds the Ghost node:
- **Directory Check**: Ensures `/root/ghost/ghost-node` exists; otherwise, prompts an error.
- **Build Process**: Starts `cargo build --release` in a detached screen session named `ghost_build`, allowing the process to run in the background (takes ~60 minutes).
- **Monitor Build**: Use `screen -r ghost_build` to view progress; detach with `Ctrl + A + D`.
- **Error Handling**: If the directory is missing, the script exits with instructions to set up the node first.
5.**Connect-Ghost**
Connects the Ghost node to the blockchain network.
6.**Service-Build**
User Input: During execution, the user is prompted with "Rebuild GHOST Node type: Y" and must type Y to proceed.
7.**Service-Setup**
The **Service-Setup** option sets up the Ghost node service with specific arguments:
- **Directory Creation**: Creates the `/etc/ghost` directory if it doesn't exist.
- **Directory Check**: Verifies that the Ghost node directory (`/root/ghost/ghost-node`) exists. If not, it exits with instructions to run the `setup_node` function first.
- **SHA256 Checksum**: Runs a checksum on `/etc/ghost/casper.json` for verification.
- **Starter Script Execution**:
- First, runs the script with `--set-arguments` to configure the necessary arguments.
- Prompts the user during execution:
- **Disable bootnode mode [y/N]**: User must type **y** to disable the bootnode mode.
- **Boot node address**: User will be prompted to paste the following address:
This Auto Script for Node Management on the Ghost has been created by CryptoBuroMaster. It is a comprehensive solution designed to simplify and enhance the node management experience. By providing a clear and organized interface, it allows users to efficiently manage their nodes with ease. Whether you are a newcomer or an experienced user, this script empowers you to handle node operations seamlessly, ensuring that you can focus on what truly matters in your blockchain journey.