Skip to content

educatedwarrior/docker-pivx-masternode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pivx masternode for docker

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

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

Quick Start

docker run \
  -d \
  -v /some/directory:/pivx \
  -p 51472:51472 \
  --name=pivx \
  guggero/pivx

This will create the folder .pivx in /some/directory with a bare pivx.conf. You might want to edit the pivx.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

In general, you should follow a tutorial on how to prepare your masternode (create private key, send PIVX and so on). I suggest this tutorial.

To start the masternode functionality, edit your pivx.conf (should be in /some/directory/.pivx/ 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 pivx-cli masternode genkey).

About

pivx masternode docker image

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%