This post is from a low-reputation account and contains an unverified outbound link. Be cautious before clicking external links.

MOAC Technical Column “The Microchain Creation Process”

Words
193
Reading
1 min
Listen
Play
8y

Requirements:
The microchain agreement contract must have already been created

Parameters

  1. The agreement to be used

  2. The number of SCS nodes on the microchain [min,max], select the nodes up to the thousandth

  3. Refresh time of microchain

  4. Use Microchain logic code Funccode

Process:

  1. Funccode is setup by the deployer by deploying a global microchain contract.

  2. The DAPP deployer calls RegisterOpen to allow the SCS to register. The V-node code is called in the meantime; if any SCS connection is found and satisfies the requirement, a message will be pushed to the SCS.

  3. The SCS node initiates a RegisterAsSCS call for the microchain contract to confirm joining that particular microchain.

  4. The DAPP deployer calls RegisterClose to close the registration, and the V-node determines if the conditions was satisfied during the execution. If they were indeed satisfied, the v-node will push a newSubchanmsg to SCS, and a series of initializing operations will be triggered at the SCS side, after which microchain setup is completed.

If the conditions weren’t satisfied, the DAPP deployer will restart this process.

Where to Find Us

Website: https://moac.io/

GitHub: https://github.com/MOACChain/moac-core

Twitter: https://twitter.com/moac_io

Reddit: https://www.reddit.com/r/MOAC/

Medium: https://medium.com/moac

Steemit: https://steemit.com/@moac-official

Telegram(International): https://t.me/moacblockchain

Telegram(Developers): https://t.co/8m3m9RD5ix

Telegram(China): https://t.co/73rU9sHWLH

YouTube (Event Channel):https://www.youtube.com/channel/UCBU405W7vfOPBicLwW9-QOA

Youtube (Technical Channel):

https://www.youtube.com/channel/UC_U54wsGNrm_Yivj5bH9i7Q?view_as=subscriber

Facebook: https://www.facebook.com/moacchain/

MOAC Technical Column “The Microchain Creation Process” | Ecency