BLOCKMESH

Prerequisites

  1. System Requirements:

    • Operating System: Ubuntu 20.04+ (recommended) or any Linux distribution.

    • CPU: 4-core processor or higher.

    • Memory: 8 GB RAM minimum.

    • Storage: 200 GB SSD (or higher for scalability).

    • Network: High-speed internet with a static IP address.

    • Docker (optional): Recommended for containerized deployments.

  2. Accounts:

  3. Software:

    • git for repository cloning.

    • curl or wget for downloading dependencies.

    • A compatible blockchain CLI (if provided by BlockMesh).


Step 1: Install Dependencies

Update System Packages

Run the following commands to ensure your server is up to date:

Install Go (if required by BlockMesh)

BlockMesh might require Go for custom blockchain builds. Use the following commands to install the latest version:

Verify the installation:


Step 2: Clone the BlockMesh Repository

Use Git to fetch the latest version of the BlockMesh codebase:


Step 3: Build the Validator Node

Compile the Node

Navigate to the source directory and build the binary:

The compiled binary will usually appear in the build/ directory. You can move it to a global path for easier access:

Verify the installation:


Step 4: Configure the Node

Initialize Node Data

Run the initialization command with a unique node name:

This will create configuration files in the .blockmesh directory (usually in your home directory).

Edit Configuration Files

Edit config.toml and app.toml:

Key changes:

  • Seeds: Add seed nodes provided by BlockMesh:

  • Persistent Peers: Add trusted peers to improve connectivity.

Minimum Gas Prices (in app.toml):


Step 5: Start the Node

Run the Node

Start the validator node:

Enable Systemd Service (optional)

For better management, create a systemd service:

Add the following:

Enable and start the service:

Check the logs:


Step 6: Become a Validator

Generate Validator Keys

Run the following command to generate keys:

Submit Your Validator Transaction

Stake your tokens to become a validator:

Confirm the transaction on the BlockMesh blockchain explorer.


Step 7: Monitoring

Check Node Status

To check the synchronization status:

View Logs

Use:


Step 8: Troubleshooting

  • Node Out of Sync: Ensure your seeds and peers are correct in config.toml.

  • Low Performance: Upgrade your hardware or check system logs for resource bottlenecks.

  • Connectivity Issues: Verify firewall and port configurations. Ensure 26656 is open.


Last updated