I have a 3 nodes quorum network, which I created with the help of quorum maker. I am adding an new account to my first node, so that my first node now has 2 accounts on it. I want to find the public key that is required for the privateFor field for this new account. How do I go about doing it? I got the file in the keystore folder by I am not able to find the public key in the format required.
Assuming you have not enable the TLS in Tessera Node and all the nodes are placed within one host, then you can curl the ThirdParty server that holds all the public keys of the Tessera Nodes. Use the following command:
localhost and port
9001, is the port where the Tessera node is listening according to the
IP and the
port can be changed accordingly, depending on your network setup.