Open eldenpark opened 4 years ago
Please list all the variables, lists, and other values that are going to be used by this smart contract. Think about the scalability issues, but we don't have to address it at this stage. We can come back to it later.
Verifiable Computing Module
This document details the implementation of a 2-layer Ethereum tethering module, VCM.
Programming Language
To fully maximize the performance of given hardware, a low-level programming language which can be compiled down to the native binary code is to be used.
C++17
Use of Ethereum
Verifiable-computing leverages Ethereum, an open-source blockchain to make work delegation as reliable as possible.
Ethereum client node In order to tap into a public Ethereum network,
VCM
needs to connect to a client. Accessing the network, however, does not mandate running a client application on one's own. 3rd party services such as Infura might as well be used to develop, test, and run the module.Module Breakdown
VCM entails a set of off-chain application and a protocol compliant smart contract. In this document, we call OCA and Contract, respectively.
OCA
The main routine of OCA is to listen to various events from the Ethereum network and to respond with a set of predefined rules. Ethereum client emits different types of events that listeners can subscribe to. OCA subscribes to those events and sends transactions if necessary by using Remote Procedure Calls (RPCs) to the client application.
Contract