Crown Forum

Author Topic: Masternode Setup Guide (Windows/macOS/Linux) Wallet version 0.12.5  (Read 358 times)

higherbridge

  • Administrator
  • Sr. Member
  • *****
  • Posts: 59
  • Karma: +4/-0
  • Community Ambassador
    • View Profile
    Table of Contents
    • Encrypt your wallet
    • Backup your wallet
    • Set-up a VPS
    • Start Masternode setup
    • Login to your VPS
    • Install your Masternode on the vps
    • Check if the installation went correctly
    • Backup Masternode.conf and wallet
    • Start your node(s)
    • Additional notes


    Step 1
    Click settings, encrypt wallet

    Enter a new password and save a copy somewhere safe.


    IMPORTANT: interrupting the encryption process corrupts the wallet.dat (so if the wallet stops responding let it continue!)

    Step 2
    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 3
    Get yourself a Linux Ubuntu 16.04 VPS. Take note of the password and IPV4 address that comes with the VPS this is needed for the next step.
    Note: the VPS should have at least 1GB of RAM (or 512MB + 512MB vswap) and around 10GB of storage.

    Step 4
    To start the Masternode setup you can go to the Masternodes tab and go to my Masternodes and press New Node:


    Here, do the following:
    • Enter the name(alias) of the node
    • Enter the IP address of the vps you created
    • And if you wish to name the transaction to yourself a label
    Continue to step 5

    OR

    When you send 10000 crw to yourself (from an exchange for example) you will be greeted with the following message as the transaction comes in (with masternode instead of systemnode).


    Click “yes” in the following screen:


    • Enter the name(alias) of the node
    • Enter the IP address of the vps you created

    Continue to step 5
       
    Step 5
    [/list]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 6
    Once you're logged into your VPS as root, follow the next steps:
    First we need to get your Masternode’s key from the wallet click on the copy to clipboard button:

    To manually generate the genkey, type: node genkey

    Then on the VPS to simplify the process, we’re going to use a script.

    First, replace PLACE-YOUR-MASTERNODE-KEY-HERE with your Masternodenode genkey you just copied to clipboard:
    [/list]
    Code: [Select]
    sudo apt-get install curl -y && curl -s https://raw.githubusercontent.com/Crowndev/crown-core/master/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 (putty requires a right click to paste) and hit the enter key.

    Step 7
    Check the status of the node by typing: crown-cli getinfo on the vps.
    Now wait for the blockchain to sync fully. In the meantime you can continue with step 8.

    Step 8
    Back up your wallet.dat just like you did in step 2

    and then back up your masternode.conf
    On Windows:
    Go to AppData/Roaming/Crown (where the wallet.dat is stored - this may be a hidden folder). Copy masternode.conf to the places where you backed up your wallet.
    ------------------------------------------------------------------
    On macOS:
    Open a finder window, press cmd + shift + G and navigate to ~/Library/Application Support/Crown, where you will find masternode.conf
    ------------------------------------------------------------------
    On Linux:
    You can find masternode.conf in ~/.crown and copy to a backup place

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

    Goto the Masternode tab and select the Masternode that just fully synchronised and click Start Alias on the bottom:


    After entering your password you will get the request to start it:


    After clicking Yes you should get the following message and be done:


    PLEASE NOTE

    It can take several days for your Masternode to receive its first payment.
    The minimum waiting time (in days) for your first Masternode payment is approximately Amount of Masternodes / 1440
    Maximum time before first payment is the above * 2

    Usually as long as the Masternode says enabled in your Masternode tab, and the active section shows anything above 00:00, you should be good to go.

    It may take up to half an hour for your Masternode's uptime to change from 00:00 to the actual time. Please be patient.

    How to check if you installed your Masternode correctly
    Enter crown-cli masternode status into your VPS command line.

    If it outputs this is not a Masternode, something may have gone wrong in the process.

    If it says not capable Masternode: Hot node, waiting for remote activation, you should activate the node from your local wallet as decribed in step 9.

    If the command outputs that the Masternode is enabled but not yet activated, wait for the VPS wallet to sync with the network. This may take a few minutes. It may be that your wallet is not synced up to the current block. Enter crown-cli getinfo, look at the block your wallet is at and compare that to the current block on http://crown.today
    « Last Edit: July 13, 2018, 01:20:59 pm by higherbridge »