Skip to content

MuhammedZohaib/Solo-Mining-Node-Setup-on-Initverse-Mainnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

Solo Mining Node Setup on Initverse Mainnet

Introduction

This guide will walk you through setting up a solo mining node on the Initverse Mainnet. This process requires a Linux environment such as WSL (Windows Subsystem for Linux) or a Linux VPS.

image

Prerequisites

Before proceeding, ensure you have access to a Linux-based system:

  • WSL (Windows Subsystem for Linux) if using Windows
  • A Linux VPS (Ubuntu/Debian recommended)
  • A dedicated Linux machine

Install Dependencies

Ensure you have Go and Make installed. If they are not installed, run the following command:

sudo apt update && sudo apt install make golang-go

Clone the Repository

Download the Initverse chain repository from GitHub:

git clone https://github.com/Project-InitVerse/chain.git
cd chain

Build Geth

Compile the Geth (Go Ethereum) binary:

make geth

Run Initverse Mainnet Node

After building Geth, start your node with the following command:

sudo ./build/bin/geth --datadir data --http --syncmode full console --ipcpath /tmp/geth.ipc

Expected Output

If successful, you will see blockchain synchronization messages. This process may take some time.

Mining Setup

Once synchronization is complete, configure mining by setting your Ethereum wallet address:

miner.setEtherbase('your_mainnet_address_here')

Start mining with:

miner.start()

To mine with limited threads: you can pass any number based on your machine to run the solo mining node

miner.start(3) # run miner with 3 threads

To stop mining:

miner.stop()

Checking Synchronization Status

To check if your blockchain is synchronizing, use:

eth.syncing

If synchronization is complete, this command will return false.

Additional Tips

  • Ensure your VPS has sufficient CPU and RAM to handle mining operations.
  • If using WSL, allow external connections via firewall settings.
  • You can run the node in the background using screen or tmux to keep it active after closing the terminal.

Support & Credits

If you found this repository useful, please star the repo!

Compiled by ~Muhammad Zohaib