Mosaic is a parallelization schema for decentralized applications. It composes heterogeneous blockchain systems into one another. Decentralized applications can use Mosaic to compute over a composed network of multiple blockchain systems in parallel. More details on Mosaic here
The protocol defines a set of actions that together perform atomic token transfers across two blockchains using gateway contracts. This is done using a 2-phase message passing architecture between the chains. This is done with proving Merkle Patricia proofs of messages generated from one chain to another chain.
Mosaic proof is a tool for generating Merkle Patricia proof of a message that is used by the protocol for message transfers.
Using proof generator.
Create proof generator object.
Generate message box outbox proof for a given message
;;;// Get MessageBox outbox proof.;
Generate message box inbox proof for a given message
// Get MessageBox outbox proof.;