Class EthereumNode

All Implemented Interfaces:
L2pStorageInterface, NodeStorageInterface, AgentStorage

public class EthereumNode extends PastryNodeImpl
Node implementation that extends the FreePastry-based node with access to an Ethereum blockchain-based service and user registry. Access to the registry is encapsulated in the package i5.las2peer.registry. (The actual Ethereum client is run separately, but see there for details.) The operator of an EthereumNode must have an Ethereum BIP39 mnemonic-derived key pair (e.g., as created for EthereumAgents). The Ether funds of that account are used to announce service deployments, i.e., services running at this node. The same account should be used for mining in the Ethereum client, so that new Ether is added. Operations triggered by agents, such as users registering and releasing services, are paid for by them.
See Also: