terracoin masternode docker image
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

terracoin masternode for docker

Docker image that runs the terracoin daemon which can be turned into a masternode with the correct configuration.

This image also runs sentinel (which is required for a masternode to get rewards) every minute as a cron job.

If you like this image, buy me a coffee ;) 1GuggerownoWdKkMUA8C2ySkA8AK7Ucn7n

Quick Start

docker run \
  -d \
  -p 13333:13333 \
  -v /some/directory:/terracoin \
  --name=terracoin \
  guggero/terracoin

This will create the folder .terracoincore in /some/directory with a bare terracoin.conf. You might want to edit the terracoin.conf before running the container because with the bare config file it doesn't do much, it's basically just an empty wallet.

Start as masternode

To start the masternode functionality, edit your terracoin.conf (should be in /some/directory/.terracoin/ following the docker run command example above):

rpcuser=<SOME LONG RANDOM USER NAME>
rpcpassword=<SOME LONG RANDOM PASSWORD>
rpcallowip=::/0
server=1
logtimestamps=1
maxconnections=256
printtoconsole=1
masternode=1
masternodeaddr=<SERVER IP ADDRESS>:51472
masternodeprivkey=<MASTERNODE PRIVATE KEY>

Where <SERVER IP ADDRESS> is the public facing IPv4 or IPv6 address that the masternode will be reachable at. Don't forget to put your IPv6 address in brackets! For example [aaaa:bbbb:cccc::0]:51472

<MASTERNODE PRIVATE KEY> is the private key that you generated earlier (with terracoin-cli masternode genkey).