Running a sample Cordapp example

Prerequisite :

  • Install the Java 8 JDK. Corda requires at least version 8u171, but do not currently support Java 9 or higher for this version of Corda.
  • Install the IntelliJ IDEA Community Edition. Corda supports IntelliJ IDEA versions 2017.x, 2018.x, 2019.x, and 2020.x ; and Kotlin plugin version 1.2.71.
  • Install Git in local machine.
  • If you’d prefer to install Gradle manually, install Gradle version 5.6.4. Corda requires a Gradle version between 5.1 and 5.6.4, and does not support Gradle 6.x.
  • Download the cordapp-example folder from the github repo.

Running cordapp-example

start IntelliJ IDEA and open the cordapp-example folder. Let it download all the files and dependencies needed for building the cordapp. If you see a message saying the build completed successfully, go to the terminal and run

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store