Developers Forum for XinFin XDC Network


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:


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.


Discussion (1)

gzliudan profile image
Daniel Liu • Edited on

Are you using 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/