In the Node class of the Quorum Web3j. The String address what is?

package org.web3j.quorum;

import java.util.List;

 * Quorum node configuration class.
public class Node {

private final String address;
private final List<String> publicKeys;
private final String url;

A particular node has an address? And how can I get that address?


I'm not well-acquainted with web3j.quorum, so possibly a kind spirit will chime in if this is off. If I'm not mistaken, those would be the enode addresses for the nodes.

In Ethereum and Quorom, nodes have an "enode address" which is a unique identifier. Have a look at this:


From the 7 nodes example: https://github.com/jpmorganchase/quorum-examples/blob/master/examples/7nodes/permissioned-nodes.json

You can see that's describing a network topology where the nodes are known by these identifiers. As a side note, the same concept exists in Ethereum. You can see it in network discovery, the bootstrap nodes, admin.addPeer(), and similar topics.

Hope it helps.

  • 1
    According to this example. github.com/web3j/quorum/blob/master/src/test/java/org/web3j/… It seems that the address is one user address. But I can´t confirm yet because developing my code I still can´t create a great ClienTransactionManager to deploy my contracts. Im trying to fix and improve the code. When I solve the code I will post the answer to future readers. Thankyou for your always complete and helpfull answes @Rob – UnexpectedCharacter Feb 6 at 14:54

Your Answer

