Skip to content

Architecture

Lisa edited this page Aug 25, 2019 · 1 revision

The adapter for the corda platform is provided in a docker container. It consists of two components: generator and runtime communication. The generator is implemented with Node.js and creates for each participant a RPC Server and a node. Every node has his own ledger and every smart contract has one notary node. Smart contracts consist of three components: contract class, state class and schema class. The contract class handles commands and verification, thus every choreo task is one command. The state class describes how a valid state looks like and the schema class describes how to store a valid state, it consists of enum (state) and party references in the ledger.

Clone this wiki locally