Community-made tutorial

Any donation would be appreciated for this community-made tutorial.

Netsis address:


How to setup a Masternode for Netsis?

- Required amount of NET coins to setup the masternode (collateral) - 10 000 NET.
- A wallet to store your coins.
- A dedicated server or VPS with at least:
  • 1CPU
  • 1GB RAM
  • 25GB SSD or NVMe
  • Ubuntu 20.04+


Prepare your VPS


Update your machine.



Install the required dependencies.



Download the Netsis daemon.



Extract the compressed file.



Install the daemon and tools.



Create the config file.





Copy and Paste the following lines in netsis.conf.


Replace the text "REPLACE_WITH_EXTERNAL_IP_OF_VPS" with the external IP address of your VPS.
E.G. externalip=91.192.32.198


Start your node with the following command.



Wait until the command "mnsync status" returns the status "MASTERNODE_SYNC_FINISHED".



Example output


{
  "AssetID": 999,
  "AssetName": "MASTERNODE_SYNC_FINISHED",
  "AssetStartTime": 1664045622,
  "Attempt": 0,
  "IsBlockchainSynced": true,
  "IsSynced": true,
}

Send the collateral


Open your wallet and wait until your wallet has downloaded the complete blockchain.

Go to "Tools".

Click "Debug console".

Create a new address for the fee.



Example output

NRHSnzbgtYrVD53BEH7sL6eGxwawman2rr

Send 1 coin to the address that you just created.



Create a new address for the masternode collateral.



Example output

NTXUjnNVigUaoXagAk9VaXoZZRgM8vMs58


Transfer the required amount of coins to the address that you just created.


Wait until the transaction has the required masternode confirmations.

Identify the funding transaction.



Example output


{
  "fdab9dff1ff9caf5d291905ad43b9f7d69775189d4d22cb085d7fedd94ea1c6a": "0"
}


Register your masternode


Generate a BLS key pair.



Example output


bls generate
{
  "secret": "0acbf6f183d0c9b794b9bc0dba25f8a1a1eca21aa4f2e4a86ecd3120a59efb35",
  "public": "064bb1741f4707cfe3629176857c41e0d23cbe751061fe5d0d67b506db10c8f3f6f2b684c3cec8e4a128193a001d12e9"
}


Prepare a ProRegTx transaction


Create a new address for the owner.



Example output

NRKFcaVhmzZdUy6d5szG87CN5mDkBnz8zM

Create a new address for the voting.



Example output

NZ3n2iGbLSSXZTjn9MHj38ef7P9J3rFdAg

Create a new address for the payout.



Example output

Ni8r6JZeRLGVvYJrgNdsBJzvh2nUrU6DvN

Modify the following line.

protx register_prepare fdab9dff1ff9caf5d291905ad43b9f7d69775189d4d22cb085d7fedd94ea1c6a 0 91.192.32.198:14664 NRKFcaVhmzZdUy6d5szG87CN5mDkBnz8zM 064bb1741f4707cfe3629176857c41e0d23cbe751061fe5d0d67b506db10c8f3f6f2b684c3cec8e4a128193a001d12e9 NZ3n2iGbLSSXZTjn9MHj38ef7P9J3rFdAg 0 Ni8r6JZeRLGVvYJrgNdsBJzvh2nUrU6DvN NRHSnzbgtYrVD53BEH7sL6eGxwawman2rr

fdab9dff1ff9caf5d291905ad43b9f7d69775189d4d22cb085d7fedd94ea1c6a - Transaction id from the command "masternode outputs".

0 - Single digit from the command "masternode outputs".

91.192.32.198:14664 - External IP address and P2P of your Masternode.

NRKFcaVhmzZdUy6d5szG87CN5mDkBnz8zM - The new address generated above for the owner.

064bb1741f4707cfe3629176857c41e0d23cbe751061fe5d0d67b506db10c8f3f6f2b684c3cec8e4a128193a001d12e9 - The BLS public key generated above.

NZ3n2iGbLSSXZTjn9MHj38ef7P9J3rFdAg - The new address generated above for the voting.

0 - Leave this value at 0.

Ni8r6JZeRLGVvYJrgNdsBJzvh2nUrU6DvN - The new address generated above for the payment.

NRHSnzbgtYrVD53BEH7sL6eGxwawman2rr - The new address generated above for the fee.



Paste the modified line into the console of your wallet.


Example output


{
  "tx": "0300010001a55ee8d6ad1d5c1409a5328f4e53e80e3e7c83cf85253594141505fa64c5eeec0000000000feffffff0121dff505000000001976a9144f18fd993c0f9458fafb4985536dd358e9899a9f88ac00000000d10100000000006a1cea94ddfed785b02cd2d4895177697d9f3bd45a9091d2f5caf91fff9dabfd0000000000000000000000000000ffff88909c3714c4e172bd9c230db9cac3e446945cff2ea6720c2eca064bb1741f4707cfe3629176857c41e0d23cbe751061fe5d0d67b506db10c8f3f6f2b684c3cec8e4a128193a001d12e9b9772f1f7b0af05a67883806a4f60ddde4ecbf9e00001976a9143206f92dd6acc1a481cbb88fcadc19d0507bcb7d88ac0c5537044361500975adba10f9299f684f62a7f544e8e671638fee2c3914349f00",
  "collateralAddress": "NTXUjnNVigUaoXagAk9VaXoZZRgM8vMs58",
  "signMessage": "Ni8r6JZeRLGVvYJrgNdsBJzvh2nUrU6DvN|0|NRKFcaVhmzZdUy6d5szG87CN5mDkBnz8zM|NZ3n2iGbLSSXZTjn9MHj38ef7P9J3rFdAg|ac19e80b02d4e8a27feb42073114070a281a2b788ba064803e8064d259b22ebc"
}


Sign the ProRegTx transaction


Modify the following line.

signmessage "NTXUjnNVigUaoXagAk9VaXoZZRgM8vMs58" "Ni8r6JZeRLGVvYJrgNdsBJzvh2nUrU6DvN|0|NRKFcaVhmzZdUy6d5szG87CN5mDkBnz8zM|NZ3n2iGbLSSXZTjn9MHj38ef7P9J3rFdAg|ac19e80b02d4e8a27feb42073114070a281a2b788ba064803e8064d259b22ebc"

NTXUjnNVigUaoXagAk9VaXoZZRgM8vMs58 - The "collateralAddress" value of the above output.

Ni8r6JZeRLGVvYJrgNdsBJzvh2nUrU6DvN|0|NRKFcaVhmzZdUy6d5szG87CN5mDkBnz8zM|NZ3n2iGbLSSXZTjn9MHj38ef7P9J3rFdAg|ac19e80b02d4e8a27feb42073114070a281a2b788ba064803e8064d259b22ebc - The "signMessage" value of the above output.



Paste the modified line into the console of your wallet.


Example output

H/d9tkCSzqdYh8qLL1c+KDIlrb4vtFSfdxd88XDc3U/hRZ6lMuAR8TULy7vh1YXGk6AYFFV1xyPNuEdZVMN9SdI=


Submit the signed message


Modify the following line.

protx register_submit 0300010001a55ee8d6ad1d5c1409a5328f4e53e80e3e7c83cf85253594141505fa64c5eeec0000000000feffffff0121dff505000000001976a9144f18fd993c0f9458fafb4985536dd358e9899a9f88ac00000000d10100000000006a1cea94ddfed785b02cd2d4895177697d9f3bd45a9091d2f5caf91fff9dabfd0000000000000000000000000000ffff88909c3714c4e172bd9c230db9cac3e446945cff2ea6720c2eca064bb1741f4707cfe3629176857c41e0d23cbe751061fe5d0d67b506db10c8f3f6f2b684c3cec8e4a128193a001d12e9b9772f1f7b0af05a67883806a4f60ddde4ecbf9e00001976a9143206f92dd6acc1a481cbb88fcadc19d0507bcb7d88ac0c5537044361500975adba10f9299f684f62a7f544e8e671638fee2c3914349f00 H/d9tkCSzqdYh8qLL1c+KDIlrb4vtFSfdxd88XDc3U/hRZ6lMuAR8TULy7vh1YXGk6AYFFV1xyPNuEdZVMN9SdI=

0300010001a55ee8d6ad1d5c1409a5328f4e53e80e3e7c83cf85253594141505fa64c5eeec0000000000feffffff0121dff505000000001976a9144f18fd993c0f9458fafb4985536dd358e9899a9f88ac00000000d10100000000006a1cea94ddfed785b02cd2d4895177697d9f3bd45a9091d2f5caf91fff9dabfd0000000000000000000000000000ffff88909c3714c4e172bd9c230db9cac3e446945cff2ea6720c2eca064bb1741f4707cfe3629176857c41e0d23cbe751061fe5d0d67b506db10c8f3f6f2b684c3cec8e4a128193a001d12e9b9772f1f7b0af05a67883806a4f60ddde4ecbf9e00001976a9143206f92dd6acc1a481cbb88fcadc19d0507bcb7d88ac0c5537044361500975adba10f9299f684f62a7f544e8e671638fee2c3914349f00 - The "tx" value of the "protx register_prepare" command.

H/d9tkCSzqdYh8qLL1c+KDIlrb4vtFSfdxd88XDc3U/hRZ6lMuAR8TULy7vh1YXGk6AYFFV1xyPNuEdZVMN9SdI= - The output of the above command.



Paste the modified line into the console of your wallet.


Example output

7da2e1187202a1a497beca05e0e53a6e4df0dc06046f72fbf8b61c942db2982a


Restart your wallet


Place the secret key in the config file of your masternode and uncomment the values "masternode" and "masternodeblsprivkey". (remove both symbols # from beginning of each line)

Example config

#----
rpcuser=rpc_user
rpcpassword=rpc_password
rpcallowip=127.0.0.1
#----
listen=1
server=1
daemon=0
bind=91.192.32.198
logintimestamps=1
maxconnections=125
#----
masternodeblsprivkey=0acbf6f183d0c9b794b9bc0dba25f8a1a1eca21aa4f2e4a86ecd3120a59efb35
externalip=91.192.32.198
#----
# ADDNODES:
addnode=45.77.153.55:14664
addnode=108.61.149.178:14664
addnode=207.246.94.88:14664
#----


Restart your masternode using the following commands.





Your masternode is now registered and will appear in the masternode list.

You can check the status of your masternode using the command "masternode status".



Example output


{
  "outpoint": "fdab9dff1ff9caf5d291905ad43b9f7d69775189d4d22cb085d7fedd94ea1c6a-0",
  "service": "91.192.32.198:14664",
  "proTxHash": "7da2e1187202a1a497beca05e0e53a6e4df0dc06046f72fbf8b61c942db2982a",
  "collateralHash": "fdab9dff1ff9caf5d291905ad43b9f7d69775189d4d22cb085d7fedd94ea1c6a",
  "collateralIndex": 0,
  "dmnState": {
    "service": "91.192.32.198:14664",
    "registeredHeight": 145,
    "lastPaidHeight": 0,
    "PoSePenalty": 0,
    "PoSeRevivedHeight": -1,
    "PoSeBanHeight": -1,
    "revocationReason": 0,
    "ownerAddress": "NRKFcaVhmzZdUy6d5szG87CN5mDkBnz8zM",
    "votingAddress": "NZ3n2iGbLSSXZTjn9MHj38ef7P9J3rFdAg",
    "payoutAddress": "Ni8r6JZeRLGVvYJrgNdsBJzvh2nUrU6DvN",
    "pubKeyOperator": "064bb1741f4707cfe3629176857c41e0d23cbe751061fe5d0d67b506db10c8f3f6f2b684c3cec8e4a128193a001d12e9"
  },
  "state": "READY",
  "status": "Ready"
}