Guide To Set Up XinFin Master Node

XinFin offers the first and only genuinely one-click masternode deployment. Our Masternode One-Click Installer has been heralded by many as the easiest solution for setting up a masternode and earning XDC.

You can download the latest 64-bit stable release of XinFin - One Click Installer for our primary platforms below. Packages for all supported platforms, as well as develop builds, can be found further down the page.




About XinFin Masternode

XinFin's token XDC supplants proof-of-work consensus algorithm (popularly linked with mining) with proof-of-stake consensus algorithm, fundamentally using the concept of "validators".

Validators are special nodes used in the XDPoS consensus algorithm which validate each transaction occurring on the blockchain network. The result of this validation is to finally append the transaction on the blockchain. A transaction may be accepted by the validator or rejected. (Important: There can be multiple validator nodes in each network.)

Decisions made by these validator nodes are broadcasted through the network as messages which are signed (attested) using validated cryptographic public key. Every validator node running XDC protocol in the RCL network is responsible for deciding its Unique Node List (UNL). This list holds information about which regular nodes does the validator care about.

To set up a masternode, make sure your XDC protocol running node is publicly identified and has gone through the compliance process. Every Node Holder need to upload KYC document and this detail will be visible to the public network.

Why set up a masternode at all?

It is necessary to set up a masternode to operate on XDC protocol because masternodes make the decentralised blockchain network self-sustainable. Deploying masternode is conducive to trusted, scalable decentralised network infrastructure. Such an environment facilitates greater stability and reliability on the network.

Functions of masternode

In XDPoS blockchain environment, masternode concept is cardinal to the functioning. A masternode validates each (or segment of transaction depending upon UNL) transaction and is also responsible for writing the transaction onto the truth ledger: the blockchain. As a consequence, this makes decentralised governance of the network possible.

Restrictions on nodes which aspire to become masternodes

Nodes which possess any of the below mentioned characteristics may not qualify to become masternodes:

  • Anonymous entity on the network.
  • Intentions to fork XDC Software.
  • Entity or Individual with Criminal record in past.
  • Entity or Individual which does not comply with local law of land.

Incentives to set up your own masternode

Several reasons why setting up a masternode is useful are:

  • Reputation building within the network community.
  • Trust Factor enhances for your node particularly since network relies on your node.
  • More Incentive gain as your node pushes more transactions on network.
  • Private blockchain is capable of running its own use case.

Important: Max number of Master node allowed in the network is 5000.

Special incentives for 18th validator node: Information required Depends on No's of Block created by validator node (incentive In terms of XDC)

Reward Cycle: Every Epoch.

Before You Begin

This guide will demonstrate how to set up a single masternode for the very first time. You will need the following before starting:

  1. At least 10,000,000 XDC with masternode holder to perform proof-of-stake consensus seamlessly.
  2. Wallet to store XDC tokens, preferably hardware.
  3. Dedicated and stable hardware environment.
  4. Dedicated Static Public IP address.
  5. 100% network uptime by IDC network.
  6. Minimum tier 3+ IDC environment.
  7. (Optional, but highly recommended) Virtual Private Server (VPS).
  8. For cloud based services, Amazon EC2's m3.large VM size would be appropriate. Similar configuration is applicable for Microsoft Azure Cloud network.

Troubleshooting

If you are having problems with Setup, the first step is to collect more information to accurately characterize the problem. From there, it can be easier to figure out a root cause and a fix.

METHOD 2: Delegate masternode set up to third party service provider

Set up your Masternode using one of these 3rd party Masternode service providers.

DISCLAIMER: This list is provided for informational purposes only. Services listed here have not been evaluated or endorsed by XinFin and no guarantees are made as to the accuracy of this information. Please exercise discretion when using third-party services.

List of service provider to Setup masternode

  1. IndSoft.net
    • IPv6 and tor Supported
    • Global geographical locations
    • Fully Managed Network
    • Network attack prevention (DDoS)
    • One time Setup Cost: Free
    • Monthly: 250 USD (pay in XDC, Paypal, debit, or credit card)

Are you a Provider?

If yes, then Contact us to List your service.

Masternode Tools

Where to operate? Mainnet vs Testnet:

In XinFin, there are two networks where you can run XDC protocol: the mainnet and the testnet.

The mainnet is used to transact real XDC. The XDC's value is tied to real fiat currency via cryptocurrency exchanges.

As developers, you do not want to run application tests with real money. That is what the testnet is for. We call the testnet XinFinTestNet.

Download XinFin One Click Installer (to setup Masternode) for Windows and Linux

Windows (64-bit)

Linux

MacOS

Coming Soon!

This guide will cater to the following system configurations:

Operating System

CentOS or RedHat Enterprise Linux (latest release) or Ubuntu (15.04+) supported

Development

Windows (64-bit) or most Linux distributions

CPU

64-bit x86_64, 2+ cores

Disk

Minimum 300GB SSD recommended (500+ IOPS, more is better) for the database partition

RAM

32 GB

Hands on guide: How to Setup Masternode

There are two methods to choose from to set up the masternode:

  1. DIY masternode environment set up
  2. Delegate masternode set up to third party service provider

METHOD 1: DIY Masternode environment set up

CentOS or RedHat Enterprise Linux (latest release) or Ubuntu (15.04+) supported

Clone repository

git clone https://github.com/XinFinOrg/XinFin-Node.git

Enter XinFin-Node directory

cd XinFin-Node

Step 1: Install docker & docker-compose

sudo ./install_docker.sh

Step 2: Update .env file with details

cp env.example .env
nano .env

Step 3: Start your Node

Run:

sudo docker-compose -f docker-services.yml up -d

Your coinbase address can be found in xdcchain/coinbase.txt file.

To stop the node or if you encounter any issues use:

sudo docker-compose -f docker-services.yml down

Upgrade

To upgrade please use the following commands

sudo docker-compose -f docker-services.yml down
sudo ./upgrade.sh
sudo docker-compose -f docker-services.yml up -d

Troubleshooting

If you are having problems with Setup, the first step is to collect more information to accurately characterize the problem. From there, it can be easier to figure out a root cause and a fix.

METHOD 2: Delegate masternode set up to third party service provider

Set up your Masternode using one of these 3rd party Masternode service providers.

DISCLAIMER: This list is provided for informational purposes only. Services listed here have not been evaluated or endorsed by XinFin and no guarantees are made as to the accuracy of this information. Please exercise discretion when using third-party services.

List of service provider to Setup masternode

  1. IndSoft.net
    • IPv6 and tor Supported
    • Global geographical locations
    • Fully Managed Network
    • Network attack prevention (DDoS)
    • One time Setup Cost: Free
    • Monthly: 250 USD (pay in XDC, Paypal, debit, or credit card)

XinfIn (XDPoS)

1) How can i set-up master node on XinFin Network?

You can set up master on windows server with one click installer or using docker compose file for more details please visit XinFin Masternode setup page.

2) Is it necessary to run master node on server ?

No it's not necessary to run a masternode on server but we recommended to host the masternode on server. Setting Up masternode by staking coin gives opportunity to mint additional coin as validators rewards.

3) Can I run my masternode on my local machine ?

Yes you can run the masternode on you Local machine but your node must have 100% up time and must have facing direct internet connection.

4) How much Masternode can i run at one time ?

You can run as many masternode you want to run at one time. But there are various conditions to run masternode like for more details visit XinFin Maternode Setup page to learn about their requirements.

5) Where can i find the XDPos code ?

You can find the XDPos code on XinFin github.

6) What is the difference between coinbase Address and Masternode owner address ?

Coinbase address is the masternode address and masternode owner address is the address of wallet which you have proposed 10 million xdc.

7) On XinFin Network, which address i will receive my rewards ?

The rewards will be received on wallet which is masternode owner address.

8) When are the rewards paid out for hosting XinFin Masternode ?

Rewards are distributed to masternode owner after ever epoch.

9) How many blocks are mine in epoch of XinFin Network ?

900 blocks are mine in one epoch.

10) how much time it takes to mine for an epoch ?

It takes around 50 minutes to complete 1 epoch.

11) How much rewards are paid to masternode on XinFin Network ?

Rewards for the masternde come approx 10 %pa rewards for running masternode. If the number of masternode increases, the rewards will be reduced.

12) How are the 108 masternode selected ?

108 masternode are selected randomly with round robin algorithm.

13) what is the TPS of XinFin network ?

Currently Xinfin network supports 2000+ tps.

14) Is there any test net for XinFin Network ?

Yes You can find the the testnet at http://apothem.network

15) How much time it takes to mine block on XinFin Network ?

It takes 2 seconds to mine a block on XinFin Network.

16) Where can i buy xdc or xdce ?

You can buy XDC on AlphaEx Crypto Exchange for now or you can buy xdce from the exchange listed at XinFin.io

17) Where can i store xdc ?

XDC wallet can be stored on XinFin web Wallet, XinFin E wallet (XinPay) or XDC Andriod Wallet.

18) Is there hardware support for XinFin web wallet ?

For now XinFin doesn't support hardware wallet but it will support soon.

19) Can I store XDCE on XinFin Wallet ?

For now XinFin web wallet doesn't supports XDCE but you can store it on XDC Android Wallet

20) Can I store my token on masternode address on XinFin Network ?

No you can not store your token on masternode address on XinFin Network.

21) Is it necessary to take the backup of your coinbase address ?

Yes it is necessary to take the backup of your coinbase address.

22) What will happen if I lost my coinbase address ?

If you lost your coinbase address your node will be down and you need to resign from the masternode.

23) What will happen if i lost my keystore of wallet ?

All your funds will get lock and you will not be able to receive rewards and your 10 million xdc will also get lost. So its always advisable to backup your keystore.

24) Can team recover my token ?

XinFin network is decentralized and no center place to store date so there is no chance to recover your token.

25) Can I deploy smart contract on XinFin network ?

Yes you can deploy your smart contract on xinfin network with remix or web wallet.

26) Can I deploy ethereum smart contract on XinFin network ?

Yes XinFin network is Ethereum compatible, so you can deploy any smart contract on xinfin.network.

27) Can we create a ERC-20 token on XinFin network ?

Yes you can create your own token on XinFin network with Mycontract.
Read : How to Deploy own token on XinFin Network

XinFin Web Wallet

1) What is the recommended way to access your wallet ?

The recommended way to access wallet is with keystore.

2) Where can i find my Private key ?

Below your address just click on the print button you will find you private key.

3) Does XinFin web wallet supports Hardware wallet ?

For now XinFin doesn't support hardware wallet support but it's under development and it will support soon.

4) Can I store XDCe token on XinFin web wallet?

No not for now XinFin web wallet doesn't supports you to store xdce but Mobile app support both XDC as well as ERC20 version token XDCe.

5) Unable to find my private key when signed up with Mnemonic phase ?

As Mnemonic phase doesn't support private key so you will not get private key.

6) What if I lost my private key and keystore ?

The recommended way to access wallet is with keystore.

7) Can we deploy contract on Xinfin Network with web wallet ?

Yes you can deploy your token on xinfin network with web wallet.

8) Does web wallet supports offline functions ?

Yes XinFin web wallet supports offline access.

9) What is the gas price for transaction ?

The default gas price for transaction is 0.00021 XDC.

10) what is the gas price for deploying smart contract on xinfin network ?

The default gas price used for deploying Smart Contract on XinFin network is 0.00021 XDC.

XinFin Masternode App

1) Which account should i used to login masternode app ?

You need to login masternode app with your web wallet private key.

2) Is it compulsory to upload kyc ?

Yes it is compulsory to upload a kyc.

3) In which format do i need to upload kyc ?

It is compulsory to upload kyc in pdf format.

4) What is the format for uploading kyc ?

The format for uploading kyc can be found on masternode app just click on become candidate you will find the format.

5) What is coinbase address ?

Coinbase address is your masternode address.

6) What if user upload a wrong kyc detail ?

If user uploads the wrong kyc 10 million xdc token will get locked and hs account will be resigned.

7) After uploading kyc and lock the 10 million xdc how much time it takes to become masternode ?

Ater 1 epoch you can see your node as a masternode.

8) How many days it will take if i resign my node ?

If user resign from masternode it takes 30 days to get your 10 million XDC.

9) Why i see my node as slashed ?

Please check your node is down so you can see your node is slashed.

10) My node is now up But it shows me slashed ?

It will check for 3 epoch and after that you will become a masternode.

11) Where can i see the rewards ?

You can see your rewards on you masternode owner address or on xinfin explorer.

13) What if i forgot my private key ?

All your tokens will be lock. So we alwas say to back up your private key.

1) What is the recommended way to access your wallet ?

The recommended way to access wallet is with keystore.

Important Links:

Follow XinFin on :