Skip to main content

Posts

Featured

A Java developer approaching the blockchain (III)

Eventually, here I am with the last part of my first journey in the blockchain world. Last time I mentioned that I would have shown my application in action so let's recap how to run it.
Running the app A quick list of steps to be performed is below; consider referring to previous posts on this blog for additional details on the tools.

Checkout JavaBallot sources using git from https://github.com/onchainit/JavaBallot.gitDownload and install testrpcStart testrpc as explained in JavaBallot's README.mdBuild JavaBallot (mvn package)Run the application with java -jar target/webapp.jarBrowse to http://localhost:8080/
The web app is very simple page with two forms. The first one is to deploy the contract; the user is expected to select the JSON wallet file from the disk and provide the password for decrypting it. The number of proposals, second beneficiary, perc and cap are further parameters required to configure the ballot contract (basically, who besides the account that's used…

Latest Posts

BLOCKCHAIN AND SMART CONTRACTS VIDEO OF MY TALK @CODEMOTION MILAN 2017

Blockchain by images

A Java developer approaching the blockchain (II)

Blockchain and smart contracts my presentation @Codemotion Milan 2017

A Java developer approaching the blockchain (I)