Model Introduction

Bystack adopts a master sidechain (one master blockchain plus multiple sidechains) collaborative work model. The mainchain uses the PoW consensus to ensure the security and decentralization of diverse assets. The sidechains implement different solutions through pluggable technologies to meet the needs of different business scenarios.

The mainchain-sidechain protocol is essentially a cross-blockchain solution. This solution allows for the transfer of digital assets from one chain to another and vice versa. In Bystack , the blockchain network that creates and stores assets is often referred to as the mainchain, while the assisting chain is called the sidechain. The sidechain protocol is envisioned as a way to allow digital assets to be transferred between the mainchain and the sidechain.

Mainchain

Bystack 's mainchain is Bytom blockchain, which is based on the AI-friendly PoW (workload proof) algorithm Tensority. The mainchain is primarily responsible for value anchoring, value transfer and trusted deposit. Any asset creation, transmission and destruction are initiated by the mainchain and then pegged into the sidechain through the Federation. At the same time, all the digital fingerprint information of the business or asset are stored in the main chain as only the mainchain with proper hashrate is safe.

Sidechain

Bystack 's sidechain is mainly for services in the vertical domain, and meets those services that have higher requirements for TPS and data storage. At the same time, the sidechain supports a more flexible deployment method. Enterprise or individual can use existing sidechain, or can generate their own sidechain and build their own application on the sidechain. Assets on mainchain is pegged to sidechain through Federation and then circulated within the sidechain. The sidechain supports pluggable consensus, database plugins, which can be better matched to meet actual business needs.

Federation

Assets on mainchain is pegged to sidechain through Federation and then circulated within the sidechain. There are three roles in the Federation. Validator: Anyone who can be a validator in the sidechain. Collector: Monitors the lock transaction happened at the federal contract address in mainchain, collects the transaction and generates a Claim transaction, sends it to the node validatior for verification and enters the mempool. Federal address: Sidechain deposit refers to the transfer of assets from the mainchain to the sidechain, which requires the asset to be locked to the federal contract address first.