Skip to content
This repository has been archived by the owner on Dec 4, 2022. It is now read-only.

Latest commit

 

History

History
68 lines (42 loc) · 1.71 KB

README.md

File metadata and controls

68 lines (42 loc) · 1.71 KB

ez-docker-groestlcoin

Easy way to set up your own Groestlcoin (GRS) node.

Includes Docker configuration for building & running GRS node in Docker. No need to install any extra build tools into your OS.

Compressed Docker image size is about 100 MB.

Prequisites

Build requires multi-stage support from Docker, so version >= 17.05 is required.

Install docker-compose if you want to use it to set up your node. Useful for all the lazy people.

Building

Clone this repository.

$ git clone https://github.com/vtorhonen/ez-docker-groestlcoin.git
$ cd ez-docker-groestlcoin

Build your own image and run:

$ sudo docker-compose build
$ sudo docker-compose up -d

Building the image takes quite a while.

If you are lazy and you trust my binaries then you can use pre-built images from my Dockerhub repo.

$ sudo docker-compose up -d

Data directory called data is created to the working directory upon startup. It is then mounted to the container by default. You won't lose your wallet if you destroy the container.

Since Dockerhub doesn't support multi-stage builds yet (see issue #1) the builds are probably not as transparent as they should be. Will be fixed.

Accessing your wallet

You can interact with your wallet by using groestlcoin-cli.sh wrapper script. Note that blockchain syncing takes some hours to complete after container startup and it is wise to wait.

Check current sync status:

$ ./groestlcoin-cli.sh getinfo

Check your wallet balance:

$ ./groestlcoin-cli.sh getbalance
0.00000000

List all available CLI commands:

$ ./groestlcoin-cli.sh help

Feedback

Create a Github issue. Feedback is always welcome!