1. A brand new VPS to install 2. A Seperate BLS Key per node. 3. An Owner and Voting Key
You can not use the same BLS Key or Owner, Voting Keys for multiple nodes!
- 64-bit CPU — 2 Cores (4 preferred)
- 4gb RAM (real) minimum (8gb RAM preferred)
- 4gb swap (if less than 8gb real RAM) Will need to use SSD if using Swap
- KVM or OpenVZ (KVM preferred)
- Linux OS — Minimum Ubuntu 18.04, LTS Ubuntu 20.04 LTS (Focal Fossa) preferred.
- 80gb Disk Space (100gb+ SSD preferred).
If using an existing address with seniority you will have to manually ‘lock’ the collateral. Do this via Coin Control - right click your 100k tx and click “Lock Unspent”. You do not need to make a new transaction. Doing so will lose your Seniority. If setting up a Sentry Node with a seniority address you can skip to generating your BLS KEYS.
There are many VPS service providers that offer and exceed the hardware requirements, as such it is recommended that you shop around and do your own homework on various potential providers. Note the following is a list of just some examples and should not be interpreted as recommendations or endorsement.
Syscoin Discord: If you require more help, jump into the Syscoin Discord and our community will be more than happy to help you out!
Sysnode.info: This website has an array of tools such as Sentry Node Stats, Monitoring and keeping up to date with current news with Syscoin.
To stake your Sentry Node you will need to provide exactly 100,000 SYS in your Sentry Node address. Use Syscoin Core Qt for your system to process this transaction.
Create a new address for collateral this does not need to be a legacy address anymore, or you can use an existing seniority address. If you are using an existing Seniority Address you do not have to make a new transaction or create a new address.
Send exactly 100,000 Syscoin to this address.
- Click Window>Console and enter the following command: Note some commands now require an underscore
This should return a string of characters similar to the following:
The first long string is your collateralHash, while the last number is the collateralIndex.
NOTE: YOU MUST CREATE A BLS KEY PAIR FOR EVERY NODE
A public/secret BLS key pair is required to operate a Sentry Node. The secret key is specified on the Sentry Node itself, and allows it to be included in the deterministic Sentry Node list once a provider registration transaction with the corresponding public key has been created.
If you are using a hosting service, they may provide you with their public key, and you can skip this step. If you are hosting your own Sentry Node or have agreed to provide your host with the BLS secret key, generate a BLS public/secret keypair in the Console and entering the following command:
These keys are NOT stored by the wallet and must be kept secure, similar to the value provided in the past by the Sentry Node genkey command.
Finally we are ready to work on your server. Connect to your VPS as root via SSH (Putty) and enter the following command to start the automated install:
Please also check the latest releases - if it is not 4.3.0, you will need to enter in the latest release tag for for Syscoin Core Github Branch. So if the latest release is 4.3.1, you would enter 4.3.1 and then press enter. You can check that here; Releases · syscoin/syscoin · GitHub
Default values are found in brackets and pressing enter will selected the [default] value. For entries with a [Y/n] the capital letter is the default. Enter [Y] to choose “yes” or [N] to choose “no”. Likely the only value you will need to enter is the latest release tag and Sentry Node BLS Secret key.
Once the build process and configuration have completed, to access the syscoind and syscoin-cli executables via the new syscoin user type the below into cmd;
To check on sync status type;
syscli mnsync status
Now head to your Syscoin QT to Register your Sentry Node
A pair of BLS keys for the operator were already generated above, and the secret key was entered on the Sentry Node. The public key is used in this transaction as the operatorPubKey
First, we need to get a new, unused address from the wallet to serve as the owner key address ownerKeyAddr. This is not the same as the collateral address holding 100,000 Syscoin. This address must be different for each MN.
Generate a new address as follows:
This address can also be used as the voting key address votingKeyAddr. Alternatively, you can specify an address provided to you by your chosen voting delegate, or simply generate a new voting key address as follows:
Then either generate or choose an existing address to receive the owner’s Sentry Node payouts payoutAddress. This address cannot be the same as your owner or voting address, it is also possible to use an address external to the wallet:
You can also optionally generate and fund another address as the transaction fee source feeSourceAddress. If you selected an external payout address, you must specify a fee source address.
Either the payout address or fee source address must have enough balance to pay the transaction fee, or the register_prepare transaction will fail.
The private keys to the owner and fee source addresses must exist in the wallet submitting the transaction to the network. If your wallet is protected by a password, it must now be unlocked to perform the following commands. Unlock your wallet for 5 minutes:
When Registering your Syscoin Sentry Node in the next step you have the option to donate a percentage of your rewards to someone else via the operatorReward argument. Please help support the team and choose an amount that you are happy to donate such as 5% to 10%. By doing this you help the efforts of the Foundation on creating a solid network and the continued development of Syscoin. If you do select an amount, there will be an extra step at the end of the tutorial that you will need to complete via Syscoin QT console. The team thanks you in advance for your continued support.
We will now prepare an unsigned ProRegTx special transaction using the protx_register_prepare command.
This command has the following syntax:
Open a text editor such as notepad ++ to prepare this command or head to SysHub Sentry Node Registration.
Replace each argument to the command as follows:
- collateralHash: The txid of the 100000 Syscoin collateral funding transaction
- collateralIndex: The output index of the 100000 Syscoin funding transaction
- ipAndPort: Sentry Node IP address and port, in the format x.x.x.x:yyyy
- ownerKeyAddr: The Syscoin address generated above for the owner address
- operatorPubKey: The BLS public key generated above (or provided by your hosting service)
- votingKeyAddr: The Syscoin address generated above, or the address of a delegate, used for proposal voting
- operatorReward: The percentage of the block reward allocated to the operator as payment, 0 for no reward - this is if you want to pay someone else a % of your rewards. This is the part where if you would like to donate to the Syscoin Foundation.
- payoutAddress: A Syscoin address to receive the owner’s Sentry Node rewards.
- feeSourceAddress: An (optional) address used to fund ProTx fee. payoutAddress will be used if not specified.
Note that the operator is responsible for specifying their own reward address in a separate update_service transaction if you specify a non-zero operatorReward. The owner of the Sentry Node collateral does not specify the operator’s payout address.
Either the feeSourceAddress or payoutAddress must hold a small balance since a standard transaction fee is involved. Example (remove line breaks if copying):
Note in this example I will use the same address for owner and voting and i will have sent a small amount of Sys to the payoutAddress for fees as i am not using feeSourceAddress.
(Remember to lock your collateral if using a seniority address)
Next we will use the collateralAddress and signMessage fields to sign the transaction, and the output of the tx field to submit the transaction.
We will now sign the content of the signMessage (returned above) field using the public key for the collateral address as specified in collateralAddress. The wallet used to sign must hold the private key to the collateral address and note that no internet connection is required for this step, meaning that the wallet can remain disconnected from the internet in cold storage to sign the message.
The command takes the following syntax:
Example: (excluding “ ”)
We will now submit the ProRegTx special transaction to the blockchain to register the Sentry Node. This command must be sent from the wallet holding a balance on either the feeSourceAddress or payoutAddress, since a standard transaction fee is involved.
The command takes the following syntax:
Where: tx: The serialized transaction previously returned in the tx output field from the protx_register_prepare command sig: The message returned from the signmessagebech32 command.
Example: (excluding “ ”)
Your Sentry Node is now registered and will appear on the Deterministic Sentry Node List after the transaction is mined to a block.
You can view this list on the Sentry Nodes tab in QT, or in the console using the command protx_list valid, where the txid of the final protx_register_submit transaction identifies your Sentry Node.
Syscoin Foundation Address:
You only need to do this if you input a value greater than 0 when completing the ProRegTx for operatorReward.
- proTxHash: The hash of the initial ProRegTx
- ipAndPort: IP and port in the form “ip:port”
- operatorKey: The operator BLS private key associated with the registered operator public key
- operatorPayoutAddress: The address used for operator reward payments.
- feeSourceAddress (optional): An address used to fund ProTx fee. operatorPayoutAddress will be used if not specified.