MTC Smart Contract Introduction

Release Date:2018-09-28 13:22
MTC uses a hierarchical approach similar to computer storage architecture in the implementation of smart contract functions, through virtual machines (MTCVM). The smart contract is close to the legal contract language and has high security. The handling fee of the smart contract is calculated according to the byte occupied by the contract. MTC's smart contracts consist of declarative and full Boolean statements, and are therefore closer to traditional legal contract languages, supporting Boolean operations, mathematical operations, and even data storage. MTC provides templates for a variety of commonly used declarative smart contracts for users to use or improve to meet custom requirements, reducing contract deployment difficulty and error rates. Here is a smart contract model: ["contract template", [ "hash of unit where the template was defined", {param1: "value1",param2: "value2"}]] MTC built-in smart contract module package, slave module Structurally, the MTC smart contract module is located between an external service module (such as an RPC module) and an underlying facility module (such as a network module, a storage module, an account module, etc.), a storage module, a basic encryption algorithm, an account module, a network module, and the like. The module provides underlying support for smart contracts. The smart contract is defined by the upper application, interpreted by the interpreter, stored by the storage module, and operated by the MTC smart contract module software package. The MTC Smart Contract Interpreter will support a variety of high-level programming languages. Application developers can design MTC smart contracts in their own familiar language.