I am following the following Corda tutorial: https://docs.corda.net/tutorial-test-dsl.html.
Can someone explain the line val inState = getPaper()? It doesn’t appear before this page.
This is simply a test method to return a new commercial paper state.
Currently, beyond the Hello, World! tutorials (https://docs.corda.net/hello-world-introduction.html and https://docs.corda.net/tut-two-party-introduction.html), the tutorials are not supposed to follow on from each other to create a full CorDapp. They are simply examples of how various features work.
It may also be helpful to look at the various sample CorDapps defined here: https://www.corda.net/samples/.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With