How to manually set an address for a node

+1 vote
Hi, because I am using docker-compose to run a network of multichain nodes, I need to set a fixed address (private/public) for each node and configure the corresponding permission only once.

Do you have an idea how to generate and set manually addresses for each node.


asked Nov 9, 2017 by anonymous

1 Answer

0 votes

Please take a look at the initprivkey runtime parameter which should do what you need:

answered Nov 9, 2017 by MultiChain
Thanks, but this only setup the private key, what about the node's address?
I think $handshakelocal$ can do the job?
The address is derived directly from the private key so it sets that as well.