As previously explained, cross-chain messages are spawned in one blockchain and processed in another. The blockchain where the cross-chain message is created is called the sending chain and it is identified by the sending chain ID. The blockchain where the message is processed is called the receiving chain and is identified by the receiving chain ID. The mainchain uses the receiving chain ID to route the message to the correct chain.
Modules can introduce new values for the status property, which can be used for custom error handling. Notice that the first 64 error codes are reserved for the Interoperability module.status to indicate that a cross-chain token transfer is invalid because the receiving chain does not support that specific token.Similar to transactions, the params property contains the specific parameters used to process the cross-chain message.
It is easier to follow the path of a cross-chain message in the ecosystem with two concrete examples. Notice that in both these examples, the user starting the process, Alice, only has to care about sending the initial cross-chain command. From her point of view, everything else happens automagically.LSK are the native tokens of the Lisk mainchain. This means that originally all LSK are stored on the mainchain.
6. The cross-chain update is processed on sidechain A. The cross-chain message is added to the mainchain inbox and has its effect. Alice is credited with 5 LSK on sidechain A. 🎉Sidechain-to-sidechain messages are the humus on which a rich interoperability ecosystem can flourish. The Lisk interoperability provides the general protocol for exchanging messages, but the real fun happens with the custom cross-chain commands and messages developers create for the blockchain applications.
Source: Digital Coin News (digitalcoinnews.net)
United States Latest News, United States Headlines
Similar News:You can also read news stories similar to this one that we have collected from other news sources.
Source: Cointelegraph - 🏆 562. / 51 Read more »
Source: kgun9 - 🏆 584. / 51 Read more »
Source: HoustonChron - 🏆 609. / 51 Read more »
Source: whatcar - 🏆 554. / 51 Read more »
Source: dallasnews - 🏆 18. / 71 Read more »
Source: SFGate - 🏆 534. / 51 Read more »