Developers Forum for XinFin XDC Network

Nodeop5252
Nodeop5252

Posted on

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 (1)

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.