Converting CDL smart contracts to code
Once you are happy with the structured design of your CorDapp, it’s time to convert your design into executable code. Use this guide to establish a structured and systematic approach to converting your CDL smart contract diagrams into CorDapp code.
The examples in this section are taken from the cdl-example CorDapp located in the Corda Open Source Github repo: corda/cdl-example
At present the examples are only available in Kotlin. However, the principles being employed will translate to Java and the functions provided in ContractUtils.kt can still be used by Contracts written in Java.