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.
Discussion (5)
Hello,
Have you tried setting up the node using the bootstrap script or manually? The bootstrap script is designed to streamline the process by setting up Docker, creating a new account, and updating its name in the .env file.
We recommend exploring the bootstrap script and sharing the logs if you encounter any issues with your node setup. Here are the steps to use the bootstrap script:
github.com/XinFinOrg/XinFin-Node?t...
Hi,
I already tried the above script, but it did not generate the "coinbase address". Additionally, there are some errors in the "bootstrap.sh" file.
In the "bootstrap.sh" file at line 64, they mention xxxx, which is incorrect. It should be ".*".
Furthermore, with this script, the Docker service is not starting.
I modified those changes and ran the script, but the "coinbase address" was not generated.
Could you please let me know what the issue might be?
Thanks.
Hello,
Coinbase.txt store etherbase address of your nodes and its not require to setup validator nodes.
Thanks.
Hello @nodeop5252
We hope that the above issue is resolved, if the issue still persists then please let us know about it so that the team can resolve it on priority. It will be grateful to get an update within 72 hours or else it will be considered resolved.
Thank You.
Hi there. Another user had installation issues when using newer distros of Ubuntu.
Not sure if this is the cause for you, but worth checking. Try it on 20.04 and then if working ok, can try 22.04. From memory I think he experienced issues on anything newer than that.