Crown Forum

Author Topic: [Legacy/OLD] Masternode Setup Guide (Windows/macOS/Linux)  (Read 1502 times)

higherbridge

  • Administrator
  • Full Member
  • *****
  • Posts: 43
  • Karma: +4/-0
  • Community Ambassador
    • View Profile
[Legacy/OLD] Masternode Setup Guide (Windows/macOS/Linux)
« on: December 14, 2017, 01:55:59 pm »
Please note that due to an update, the newest guide can be found at https://forum.crown.tech/index.php?topic=1241.0

Table of Contents
  • Request a payment
  • Generate a masternode genkey
  • Encrypt your wallet
  • Backup your wallet
  • Send yourself 10,000 CRW
  • Receive the masternode outputs (txid)
  • Set-up a VPS
  • Login to your VPS
  • Install your masternode
  • Check if the installation went correctly
  • Edit masternode.conf
  • Start your node(s)
  • Additional notes

Please note that due to an update, the newest guide can be found at https://forum.crown.tech/index.php?topic=1241.0

LOCAL INSTRUCTIONS

Step 1
Inside the Crown wallet, click the “receive” tab and click request payment.

Copy the address it shows you and save it in a notepad file.




Step 2
Inside your Crown wallet go to tools -> debug console and type: masternode genkey

Copy the string output and save it.


Step 3
Now click settings, encrypt wallet

Enter a new password and save a copy.




Step 4
In the wallet, click file -> backup wallet

Save your wallet.dat carefully (recommended is on 2-3 separate
hard drives and not on cloud storage. Please do your own research on good practices regarding wallet safety).


Step 5
Send exactly 10,000 CRW to the public address you created earlier.


Step 6
Once the 10,000 has arrived, backup your wallet again.
Then go to tools -> debug console and type masternode outputs

Copy the correct string and save it. This is the transaction ID (txid).


REMOTE INSTRUCTIONS

Step 7
Get yourself a Linux Ubuntu 16.04 VPS. Take note of the password and IPV4 address that comes with the VPS.
Note: the VPS should have at least 1GB of RAM (or 512MB + 512MB vswap) and around 10GB of storage.
   
Step 8
On a Windows machine, you now need to download PuTTy and install it.
On a Mac or Linux machine, open the Terminal.

Enter the IP address of the VPS you created and login to the server using root as the user and the password supplied by your VPS provider.


Step 9
Once you're logged into your VPS as root, follow the next steps:

To simplify the process, we’re going to use a script.

First, replace PLACE-YOUR-MASTERNODE-GENKEY-HERE with your masternode genkey from step 2:

Code: [Select]
sudo apt-get install curl -y && curl -s https://raw.githubusercontent.com/Crowndev/crowncoin/setup-scripts/scripts/crown-server-install.sh | bash -s -- -m -p PLACE-YOUR-MASTERNODE-GENKEY-HERE
Copy and paste the above line with your genkey in your VPS and hit the enter key.


Step 10
Check the status of the wallet by typing: crown-cli getinfo

Now wait for the blockchain to sync fully. In the meantime you can continue with step 11.

LOCAL INSTRUCTIONS (CONT.)
      
Step 11
On Windows:
Shut down your CrownQt wallet.
Go to AppData/Roaming/Crown (where the wallet.dat is stored - this may be a hidden folder).
------------------------------------------------------------------
On macOS:
Shut down your CrownQt wallet.
Open TextEditor (a standard mac application)
Press '/', an address bar will appear
Type ~/Library/Application Support/Crown and hit enter
------------------------------------------------------------------

Find masternode.conf and open the file.
You will see an example of how the text file should look.
In the image below you can find a more a more detailed example.



Enter the information you have gathered throughout this guide in the
appropriate places according the the example above.

Step 12
Once the blockchain has fully synchronised on your VPS, run your local CrownQT wallet.

Goto the masternode tab

Click start all

NOTE: Please keep in mind that pressing start all will restart any node that is already running. If you already have one or more nodes running, you can either start missing or start separate aliases.



Congrats, you're now DONE!

PLEASE NOTE
It can take upto 48 hours for your masternode to receive a payment.
Usually as long as the masternode says enabled in your masternode tab and the active section shows 00:05 or anything above 00:00, you should be good to go.

Please note that due to an update, the newest guide can be found at https://forum.crown.tech/index.php?topic=1241.0
« Last Edit: March 22, 2018, 04:51:30 pm by EdwardMorra »