Source: Simplified Blockchain Part 2: Ethereum Example With Java Client - DZone Security
Simplified Blockchain Part 2: Ethereum Example With Java Client
Simple example explaining how powerful blockchain is.
In the previous article, we got acquainted with the theoretical foundations of the blockchain. In this article, we implement the functionality of the passport office.
Before You Start
In order to generate and deploy smart contract, you need to install next tools:
- Solc — Solidity compiler: Solc download link
- Ganache-cli —Testing Ethereum network, to install execute:
npm install -g ganache-cli
- Web3j — Tool to generate java client. to install execute next command in windows power shell:
PowerShell