A collection of utility scripts for managing your ERGO node efficiently and safely.
- Start your ERGO node with comprehensive pre-flight checks
- Safely shut down your node via API
- Manage node API keys
- Monitor node status
A bash script that ensures safe and proper startup of your ERGO node.
-
Java Installation Check
- Verifies Java installation
- Displays current Java version
- Validates Java compatibility
-
Node Process Management
- Prevents multiple node instances
- Detects existing running processes
- Shows detailed process information
-
Environment Verification
- Validates ERGO directory structure
- Locates latest ERGO JAR file
- Confirms configuration file presence
- Verifies file permissions
-
Startup Procedure
- Configurable Java memory options
- Proper directory navigation
- Detailed startup logging
- Status confirmation
./scripts/start/ergo-start.shA Node.js script for safely shutting down your ERGO node using the official API.
-
API Key Management
- Secure key storage
- Key validation
- Interactive key updates
-
Safe Shutdown Process
- Graceful node termination
- Connection verification
- Shutdown confirmation
- Error handling
node scripts/stop/ergo-shutdown.js- Node.js v18 or higher
- Java OpenJDK 22 or compatible
- Linux environment (tested on Raspberry Pi)
If you do not already have a running node (the start command will check that), you will need to set it up first. Here are the official resources:
The basic steps involve:
- Ensure you have Java 11 or newer installed.
- Download the latest Ergo release from Ergo Releases.
- Set up your configuration file.
- Run the node.
Note that running a full node requires:
- At least 4GB RAM
- About 45GB disk space for full blockchain synchronization (true on 1/1/2025)
- Stable internet connection
-
Clone the repository:
git clone https://github.com/tabirudotcom/ergo-node-tools.git cd ergo-node-tools -
Install dependencies:
npm install
-
Make scripts executable:
chmod +x scripts/start/ergo-start.sh
If you find these tools useful, consider supporting development by sending ERG to:
9gf2Shf1DXz3JCECWaSajNJN1rUB9XoJaSwUc5MZTdJwFqzZnSg