Skip to content
Setup XinFin Masternode using Docker
Shell Dockerfile
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dockerfiles
.env Updated .env May 10, 2019
.gitignore
.pwd Add shell scripts, genesis, bootnodes files Jan 29, 2019
README.md
apothem-network.yml Docker Port Mapping added for MainNet and Apothem Nov 23, 2019
bootnodes.list Updated bootnodes.list May 30, 2019
cleanup.sh Clear XDC folder instead of root. Nov 23, 2019
docker-services.yml
env.example
genesis.json
install_docker.sh
start-node.sh Disable RPC API, Added Script to update coinbase. Dec 5, 2019
start-testnetnode.sh Disable RPC API, Added Script to update coinbase. Dec 5, 2019
testnetbootnodes.list
testnetgenesis.json
update-coinbase.sh Disable RPC API, Added Script to update coinbase. Dec 5, 2019
upgrade.sh Update upgrade.sh Sep 18, 2019
xdc-attach.sh Added XDC attach script. Dec 5, 2019

README.md

How to Setup XinFin-XDC Masternode (One click Installer)

Operating System: Ubuntu 16.04 64-bit or higher (Scroll Down for Windows and MAC Operating System)

Should be facing internet directly with public IP & without NAT

Network Ports

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

Port Type Definition
8545 TCP RPC
30303 TCP/UDP XDC

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

Masternode Tools and Public Community Channel

Community Forum update link: http://xinfin.net

Telegram Development Community: https://t.me/XinFinDevelopers

Slack Public Channel: https://xinfin-public.slack.com/messages/CELR2M831/

Setup XinFin Masternode Method 2

Operating System: Ubuntu 16.04 64-bit or higher (Scroll Down for Windows and MAC Operating System)

Should be facing internet directly with public IP & without NAT

Tools: Docker, Docker Compose(1.21.2+)

Setup (For Ubuntu 16.04 64-bit or higher Operating System)

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 either your company or product name in the INSTANCE_NAME field.

Enter your email address in CONTACT_DETAILS field.

cp env.example .env
nano .env

Step: 3 Start your Node

For Mainnet

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

For Testnet

Run:

sudo docker-compose -f apothem-network.yml up -d

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

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 apothem-network.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

You can’t perform that action at this time.