This very little demo project shows how you can interact against a solidity contract in java with standard unit test tool
- Run
mvn clean install - The Web3 compiler plugin ẁill be downloaded
- Add your contracts.sol under
src/main/contracts - Run
mvn web3j:generate-sources- contracts will be compiled into java code and occur in folder java/org.web3.model - Run
mvn clean install - Run tests in test folder