Developers Forum for XinFin XDC Network

Nodeop5252
Nodeop5252

Posted on • Updated on

[Query] Clarification on Private Key Usage in Master Node Setup

I am a Node operator and am currently trying to set up the master node by following the Official Documentation. While going through the .env file, I found the following line:

PRIVATE_KEY=3333333333333333333333333333333333333333333333333333333333333333

This private key is generated using the command:
docker build -t address-creator ../address-creator/ && docker run -e NUMBER_OF_KEYS=1 -e FILE=true -v "$(pwd):/work/output" -it address-creator

However, the Official Documentation does not provide any information related to this private key. Could you please clarify why this private key is needed and where it should be used?
I would be grateful for a thorough explanation.

Thanks

Discussion (2)

Collapse
gzliudan profile image
Daniel Liu • Edited on

Are you using github.com/XinFinOrg/XinFin-Node? The variable PRIVATE_KEY is not used by the scripts of testnet and mainet now. It is used only in the devnet's script file: devnet/start.sh.

Collapse
mitali_blocksscan profile image
Mitali_BlocksScan

Hello @nodeop5252
We hope that the above query 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.