Skip to content

Daedalus-/Haroldcoin-Node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haroldcoin-Node

This is a dockerized full node for Haroldcoin. The intent for this project is to make running a full node more accessible for people to use for a masternode and / or contribute to the network.

Run Locally

Clone the project

  git clone [email protected]:Daedalus-/Haroldcoin-Node.git

Go to the project directory

  cd Haroldcoin-Node

You now need to make a data directory where the node will save its config file as well as all of the blockchain, etc. (Make sure it has enough space.)

  mkdir /data/haroldcoin

Copy and configure the haroldcoin.conf to the data directory.

  cp haroldcoin.conf.example /data/haroldcoin/haroldcoin.conf

DO NOT FORGET TO EDIT THE FILE WITH A NEW PASSWORD

  vim /data/haroldcoin/haroldcoin.conf

Edit the docker-compose.conf to set your desired data directory under volumes:.

    volumes:
      - /data/haroldcoin/:/root/.haroldcoin/

Build the image - Ensure you have the latest docker compose installed from https://github.com/docker/compose. During the build this will check out the latest haroldcoin source and compile it.

  docker compose build

All that is left is to start the node!

  docker compose up -d

To check that the container is running, use the docker ps command.

  CONTAINER ID   IMAGE                                  COMMAND            CREATED             STATUS             PORTS                                                               NAMES
  5a0e1fa0b61a   harold-node:v1.0                       "haroldcoind"      4 minutes ago       Up 17 seconds      0.0.0.0:25674->25674/tcp, 6432-6433/tcp, 0.0.0.0:25676->25676/tcp   harold-node

Take a look in your data directory and make sure files are being created there.

  ls -la /data/haroldcoin

You can also watch the debug.log to see the live output. (CTRL+C to stop)

  tail -f /data/haroldcoin/debug.log

If you wish to stop the node you can use the following command:

  docker compose down

About

Dockerized Haroldcoin Node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published