当前位置: 首页 > 文档资料 > MOAC 中文 WIKI >

MicroChain

优质
小牛编辑
119浏览
2023-12-01

应用链中文页面

The SCS node is to support the MicroChain on the MOAC blockchain.

MOAC is one of the first blockchain solutions to implement a unique MicroChain per Smart Contract, providing for efficiency and scalability beyond existing solutions.

The MOAC Platform uses MicroChains to separate processing tasks and isolate blockchain functions from business logic for each individual smart contract. By providing each Smart Contract with its own unique MicroChain, it enables Smart Contracts to use a variety of consensus protocols and results in a wider range of potential business logic use cases. Developers have the freedom to select the consensus protocol that best fits their use case and determine the number of nodes allocated to a specific Smart Contract. All the states of the Smart Contract are saved inside the local MicroChain™ and can write data to the MotherChain™ as needed for finality This release is alpha version of MOAC microchain. It is still under development but we want you to try and taste it with us. It is for programmers only.

Workflow for MOAC MicroChain:

moac_subchian

2019/07/01 Nuwa v1.0.10

Nuwa v1.0.10 runs on testnets only. It is used to test new algorithms on MicroChains:

Allow multiple contracts to be deployed on one MicroChain; Enable new data structure supports in SCS RPCdebug APIs; Enable new JSON-RPC methods in SCS to work with MicroChain and DAPPs;

2019/06/01 Nuwa v1.0.9

Nuwa v1.0.9 runs on both mainnet and testnet to support Multiple contracts on MicroChains:

Allow multiple contracts to be deployed on one MicroChain; Enable new data structure supports in SCS RPCdebug APIs; Enable new JSON-RPC methods in SCS to work with MicroChain and DAPPs; Optimized txpool handling of MicroChain flushing process. Updated bootnodes to improve the P2P connections; The contracts used to generate MicroChains are also updated to the latest version with ASM and AST supports; Added scripts to launch the MicroChains for both ASM and AST;

2019/03/06 Nuwa v1.0.8

Nuwa v1.0.8 only runs on testnet and is used to test the new Multiple contracts on MicroChain:

Allow multiple contracts to be deployed on one MicroChain; Enable new RPCdebug methods in SCS to work with MicroChain and DAPPs; Enable new JSON-RPC methods in SCS to work with MicroChain and DAPPs; Added bootnodes to improve the P2P connections;

2019/01/03 Nuwa v1.0.7

Nuwa v1.0.7 is a package released to use cross chain service between MotherChain and MicroChain. It optimized the MicroChain service with:

Enable the fast deposit to MicroChain from MotherChain and increase the flush limit larger than 500; Optimized the via reward model; Added express Smart Contract channel for white list; Fixed the bug that MicroChain flush stop before DAPP deployed; Provide a Atomic Swap of Moac (ASM) in addition to Atomic Swap of Token (AST).Enabled the atomic swap of tokens and MOACs between MicroChains and MotherChain; Added compiled binaries for ARM linux; Added more bootnodes for testnet to provide better service.

2019/01/03 Nuwa v1.0.6:

Nuwa v1.0.6 is a package released for both mainnet and testnet. It enable the cross-chain atomic swap of tokens between MicroChains and MotherChain. To use the atomic swap of tokens(AST), user needs to deploy the MicroChain with SubChainBaseAST.sol and other smart contracts released in v1.0.6. User also needs to implement the AST in their DAPP with the smart contract template dappbase.sol and launch it in the MicroChain.

2018/11/15 Nuwa v1.0.5:

Nuwa v1.0.5 is a package released for both mainnet and testnet. It enable all the functionality of MicroChain and fixed a few issues discovered during the test. It provides JSON-RPC commands for the SCS server.

2018/10/31 Nuwa 1.0.4:

This release is for testnet only. It fixed a few issues discovered during the test. It provides JSON-RPC commands for the SCS server in addition to nuwa1.0.3 RPC commands. A video tutorial can be found on MOAC youtube channel. For Linux and Windows platform, we provided both 386 and amd64 compilations.

2018/10/31 [Nuwa 1.0.3]

2018/10/31 Nuwa 1.0.2

MOAC mainnet chain moved successfully from Pangu to Nuwa after block number 647,200. The VNODE and SCS clients release today can be used to build MicroChain and enable the MicroChain mining in both testnet and mainnet. To help the developers to try the SCS mining, we has a website providing information in the testnet, please check Testnet MicroChain Information and Instructions to start SCS.

2018/10/31 Nuwa 1.0.0

After a year of hard work from the developers, we proudly release Moac client 1.0.0: Nuwa! This release, developed in Go language, fits into our roadmap with a fully functional Vnode and SCS to run MicroChain on the MOAC blockchain. To make a smooth transition from Pangu to Nuwa, we will release SCS clients and enable the MicroChain mining one week after Nuwa release, at mainnet block number 647,200, which will likely occur between 0:00 and 1:00 UTC on Wednesday, August, 8th 2018.

2018/06/30 Pangu 0.8.4

We released the test packages for testnet 101.

2018/05/22 PIZZA DAY

We released a package Only running at a single node mode for easy debugging. It contains both vnode and scs executables and necessary files

We also have a video channel that has instructions for users and developers. Please let us know your thoughts and comments.

Terms

  • DAPP user: people use DAPP and call DAPP contracts.
  • DAPP developer: people develop and deploy DAPP contracts.
  • MOAC-VNODE: VNODE
  • SCS-miner: People run SCS and get rewards from MicroChain.
  • SCS-monitor: People run SCS to monitor the MircoChain status, do not join consensus and cannot get rewards.
  • SCS-backup: People run SCS and backup all the data for the MicroChain, do not join consensus and cannot get rewards.

MOAC has multiple types of smart contracts on the MotherChain to run MicroChain:

  • System Contract: contract used for internal transactions, cannot be changed and only use internally.
  • SubchainProtocolBase: contract used to register SCS into SCS pool.
  • VnodeProtocolBase: contract used to register VNODE into proxy pool.
  • SubchainBase: contract to control MicroChain generation, dismiss and other functions.
  • DAPP smart contract: contract deployed on MicroChain.

DAPP developers/users only use SubchainBase and DAPP smart contrat.

MicroChain tutorials:

MicroChain user roles

SCS mining guide

SCS monitor guide

MicroChain DAPP guide

VNODE Proxy guide

MicroDesign info

SubChainBase

SCS node selection

SCS creation

SCS running

SCS flushing