This article was first published on Horizen
The Horizen SDK allows developers to write applications in their preferred language. Additionally, enterprises can take advantage of the mainchain’s functionality without having to build their own blockchain, all while utilizing Horizen’s large node network. Using Horizen Sidechain SDK, developers will be able to quickly and easily customize blockchain components such as consensus, token, block reward time, etc., which can be completely independent from Horizen’s mainchain.
The Cross-Chain Transfer Protocol
In our sidechain model, all sidechains interact with the mainchain to transfer coins, which means that coins need to be securely transferred from mainchain to sidechain, and from sidechain to mainchain. In order to allow all of that, we defined a unique protocol that must be used by all sidechains to transfer coins, named: “Cross-chain Transfer Protocol”.
The first type of transfer consists of a regular transaction from the mainchain to the sidechain, while the second type is a transfer that is initiated in sidechain, and then propagated to mainchain.
The second type of transfer is especially tricky because the mainchain does not keep track of the sidechain, so it is not able to directly verify this kind of transfer. This could be easily addressed by using a trusted party that guarantees the validity of such transfer, but this would lead to centralization. To avoid this, and allow mainchain to validate transfers from sidechain, we are adopting a revolutionary approach, which is going to be announced soon!
Decoupled Consensus Protocol
Another important element to be mentioned is that our model will provide “decoupled consensus between chains“. We refer to the fact that the protocol is consensus agnostic, so each sidechain can adopt the desired consensus protocol, i.e. PoW, PoS.
Not only we are we working on Cross-chain Transfer Protocol, but we are ...
To keep reading, please go to the original article at: