Skip to content

HODLit-3dcoin/3dcoin-masternode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3dcoin-masternode

Can also be found at Docker Hub:

3dcoin-masternode@DockerHub

What is 3dcoin-masternode project?

This is a Docker image that starts a 3dcoin daemon and start a masternode. You need 1000 3DC for spinning up your own masternode. You can have as much masternodes as you can afford. This project aims to automate the process of spinning up a new masternode. You should read the Official Guide first as you need to do things outside this docker image before using it. We have added a step by step summary below so keep reading.

Is it free?

Anyone can use this image whenever they like. It is MIT licensed so do whatever you want with it, we are not responsible for anything caused by the usage of it. More masternodes makes network faster and secure. Unlike our miner projects, this one has no fees associated with usage, it is totally free of charge, a gift to the community from us.

What are the requirements?

You need to have Docker installed. How? Check out our Digital Ocean Ubuntu 16.04 image security hardening guide. (this is not ready yet, will be added later).

Here is a quick script before we release a detailed tutorial to install it on Ubuntu 16.04:

apt-get update && apt-get install -y apt-transport-https ca-certificates curl software-properties-common && curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - && add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" && apt-get update && apt-get install -y docker-ce && docker --version

What do I need to do before using this docker image?

  • Find 1000 3DC from somewhere
  • Open 3dcoin-qt wallet from your home computer
  • Press Tools at the top menu, then Debug console
  • Write "masternode genkey" without double-quotes and press enter. Copy the generated private key and save it somewhere safe. Never tell this to anyone
  • Write "getnewaddress 0" without double-quotes and press enter. Copy the generated address
  • Go to Send tab in the wallet. Paste the address you generated at "Pay To:" field. Set "Amount:" to 1000. "Subtract the fee from amount" checkbox should NOT be checked. Make sure it is empty. Hit send at bottom left
  • Go to your transactions tab and see a payment with Type "Payment to yourself". You can double click to this transaction to check confirmation count, you need 15 but you can continue below while it is getting confirmed. Get the transaction id but ignore the last 4 digits, it should be something like "-000", don't copy that part
  • Click tools menu again, and click on Open Masternode Configuration File
  • Insert this: MN001 IP_ADDRESS:6695 PRIVATE_KEY TRANSACTION_ID 1
  • You should replace the IP_ADDRESS with the ip address of your cloud machine, you can find it on your VPS dashboard. We copied both transaction id and private key at previous steps.
  • Save this file and restart your wallet.
  • After restart, go to Settings menu at top left, click on Options
  • Go to Wallet tab and check "Show Masternodes Tab" and press OK
  • Go to new tab in your wallet called Masternodes
  • You should see what you added in masternode configuration file here, press Start Missing at bottom left of the screen. You should now see the status as PRE_ENABLED.

Phew, you are done, congratulations! Now this was the easy part, rest was even harder. But thanks to our docker image, this became the hardest part of the process :) You can now proceed below and start your masternode with one click.

I have Docker installed and masternode status is PRE_ENABLED, now what?

You just have to run the command below, that's all:

docker run -d --name masternode -p 6695:6695 hodlitio/3dcoin-masternode REPLACE_THIS_WITH_HOST_IP_ADDRESS REPLACE_THIS_WITH_MASTERNODE_PRIVATE_KEY

here is a concrete example:

docker run -d --name masternode -p 6695:6695 hodlitio/3dcoin-masternode 127.0.0.1 5P1xqTgJMtXwEEeE3TgJHYn26fWz8UkqN1cUmt2345qUdSaEtH4

I would like to upgrade from a previous version, how?

Just change the ip address and masternode private key at the command below:

sudo docker stop masternode || true && sudo docker rm masternode || true && sudo docker rmi hodlitio/3dcoin-masternode || true && sudo docker run -d --restart always --name masternode -p 6695:6695 hodlitio/3dcoin-masternode 127.0.0.1 5P1xqTgJMtXwEEeE3TgJHYn26fWz8UkqN1cUmt2345qUdSaEtH4 && sudo docker logs -f masternode

In future, when blockchain size becomes larger, we will make use of volumes. For now, it takes only minutes to start it, so bear with us :)

I would like to support HODLit.io team

Thanks! You can support us by registering to Digital Ocean with our referral link or donating to addresses below:

Bitcoin (BTC) donation address: Ethereum (ETH) donation address: Litecoin (LTC) donation address: Monero (XRM) donation address:

3DCoin (3DC) donation address:

AaMmmB5c3DKYuQEeTB6vc5fPt8gsUnJaVz

I would like to contact HODLit.io team

Mail: Twitter: Telegram: