Skip to content

Issues with Setting Up XDC Master Node #136

Open
@AmardeepSambaru

Description

@AmardeepSambaru

Hi,

I am a node operator trying to set up a master node by following the official documentation(https://docs.xdc.org/build-with-xdc/deploy-an-xdc-public-masternode).

I set up the .env file using STEP 2 in the official documentation and started the container. Initially, I encountered an error indicating that the NETWORK variable was missing. I added the variable to the .env file and started the container again.

However, this time, I encountered another error indicating that the PRIVATE_KEY is missing. I have some doubts regarding the use of the private key, so I asked my questions on Discord, but I haven't received any replies. I also posted the same question on the XDC.dev site, and someone replied suggesting that the private key is not required (https://www.xdc.dev/nodeop5252/clarification-on-private-key-usage-in-master-node-setup-1a4l). Despite this, I am still getting the error that the PRIVATE_KEY is missing.

Could you please clarify the use of the private key and where it is required?

Additionally, I started the container with the default values according to GitHub(https://github.com/XinFinOrg/XinFin-Node/blob/master/mainnet/.env). The official documentation mentions that a coinbase address will be generated at xdcchain/coinbase.txt after starting the container, but it has not been generated. Furthermore, the name I provided in the .env file is not appearing in the explorer (https://xinfin.network/#stats); instead, it shows as -5cbddxxxxxxxxxxxx2eec07fb-xx.xx.xx.xx.

Could you please tell me whether the issue is on my side or yourside, and clarify the usage of the private key?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions