corda/docs/source/tut-two-party-running.rst

1.2 KiB

Running our CorDapp

Conclusion

We have written a simple CorDapp that allows IOUs to be issued onto the ledger. Like all CorDapps, our CorDapp is made up of three key parts:

  • The IOUState, representing IOUs on the ledger
  • The IOUContract, controlling the evolution of IOUs over time
  • The IOUFlow, orchestrating the process of agreeing the creation of an IOU on-ledger.

Together, these three parts completely determine how IOUs are created and evolved on the ledger.

Next steps

You should now be ready to develop your own CorDapps. There's a more fleshed-out version of the IOU CorDapp with an API and web front-end, and a set of example CorDapps in the main Corda repo, under samples. An explanation of how to run these samples here <running-the-demos>.

As you write CorDapps, you can learn more about the API available here <api>.

If you get stuck at any point, please reach out on Slack, Discourse, or Stack Overflow.