Functional smart contract engine and virtual machine.
Different from other smart contract engines, Distributed Credit Chain team believes that the smart contract of finance is a pure function F. Assuming the current world status is S, there are: S’=F(S) and S’ is the status after the contract has been executed. Viewing smart contracts from a pure function perspective have the following benefits:
Easy to test. Because it is a pure function, there are no side effects. The contract can be tested without relying on the blockchain environment.
Contracts are algorithms, and contractual regression rules are only used to describe business rules without causing side effects on the blockchain, thus improving the stability of the blockchain.
Easy cost measure. Because it only describes the business rules, the complexity of the measurement of smart contract costs is greatly reduced, without having to consider the cost of side effects such as storage, IO and so on.
Reliable playback. Since it is a pure function, implementation of the same S' is repeated and the result is the same S, i.e. it supports idempotence.
DCC Project will use JAVA as development languages of core smart contracts. At present, JAVA is a relatively common development language for financial back-end systems. Coreteam of DCC uses the JVM as a container for running smart contracts.
Official website https://dcc.finance