Skip to content

AnilChinchawale/XinFin-Node

 
 

Repository files navigation

How to Setup XinFin-XDC Masternode

Prerequisite

Operating System: Ubuntu 16.04 64-bit or higher

Should be facing internet directly with public IP & without NAT

Tools: Docker, Docker Compose(1.21.2+)

Network Ports

Following network ports need to be open for the nodes to communicate

Port Type Definition
8545 TCP RPC
30303 TCP/UDP XDC

Setup

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

Create .env file by using the sample - .env.example

Enter your node name in the INSTANCE_NAME field.

Enter your email address in CONTACT_DETAILS field.

Step: 3 Start your Node

Run:

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

You should be able to see your node listed on this page: https://xinfin.network Select Menu "Switch to TestNet" for TestNetwork and Select "Switch to LiveNet" to check LiveNetwork Stats.

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

Troubleshooting

Public discussions on the technical issues, post articles and request for Enhancements and Technical Contributions.

Slack Public Chat,

Telegram Chat,

Forum,

GitHub

About

How to Setup XinFin-XDC Masternode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 75.1%
  • Dockerfile 24.9%