This is a adaptation of URL Shortener URL Shortener to incorporate web3j sdk.
Start Ganache development network, and deploy AKAP.sol from AKAP contracts directory:
$ configure environment varaible in app.properties [development|demo]
Start embedded server with gradle run task:
$ ./gradlew -t run
Start your browser at:
$ http://localhost:8080/
The web3j contract wrappers can be generated using the following command:
$ epirus generate truffle generate —truffle-json URLShortener.json —outputDir src/main/java —package demo.urlshortener