Initial Setup
After you have completed this tutorial, you will have modified theenvironment to make it ready for building your CorDapp Corda Distributed Application. A Java (or any JVM targeting language) application built using the Corda build toolchain and CorDapp API to solve some problem that is best solved in a decentralized manner. . You will have also created three packages within the existing CorDapp template project structure.
Initial Setup of Your CorDapp
In this tutorial, you will use the CorDapp template repository and build on top of it. This project already contains some example flows, contracts, and states An immutable object representing a fact known by one or more participants at a specific point in time. You can use states to represent any type of data, and any kind of fact. .
Follow the CorDapp template installation instructions to clone the Kotlin CorDapp template repository.
Create the
com.r3.developers.apples.workflows
package. If using IntelliJ, you can do this by right-clicking the kotlin folder within the workflows folder and then selecting New > Package.Update the
contracts
module by creating the following packages:com.r3.developers.apples.contracts
com.r3.developers.apples.states
Next steps
Follow the Write States tutorial to continue on this learning path.
Was this page helpful?
Thanks for your feedback!
Chat with us
Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.
Propose documentation improvements directly
Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.
We're sorry this page wasn't helpful. Let us know how we can make it better!
Chat with us
Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.
Create an issue
Create a new GitHub issue in this repository - submit technical feedback, draw attention to a potential documentation bug, or share ideas for improvement and general feedback.
Propose documentation improvements directly
Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.