memoscan
← all memos

Memo 0xd805003e…5a7241 on Ethereum

Cross-chain Contract Call Sometimes we will encounter a situation such that different modules of a DAPP may be deployed on different chains. How does a user from a chain call modules on other chains? And how do different modules interact if chain A needs to know the result of chain B to proceed to the next step? Our solution distinguishes the cross-chain read operations and cross-chain write operations. Users can get the status of the destination chain at a specific block height from the source chain by using a read operation. Users can send a transaction to the destination chain (transfer assets, call a contract or some other operations) by initialing a write operation. The combination of read and write operations enables interaction between cross-chain contracts. Different from some current popular cross-chain solutions, our solution does not require the participant chain to follow the unified cross-chain protocol standard at the initial design level of the underlying platform. Of course, the unified cross-chain protocol standard can be used to constrain the future chain. But for many existing public chains, it is impractical to make changes in the underlying layer to conform to the cross-chain standard. Our two-phase protocol is suitable for most of the existing blockchains and it is a universal solution in the true sense. Conclusion In this cross chain project, we outlined our core structure based on Read and Write operation to implement the interoperation between blockchains. This project can remove the barrier of information silos and improve the user experience when using and developing DApps. We have provided a precise proof for the safety of this cross chain project. We briefly talked about some new strategies to optimize our cross chain solution for further development. We have drafted an economic model for incentivizing relayers to make our network better. We are devoting ourselves for a better blockchain network, and we hope our project will be a big step in the development process of Web 3.0. (LOL)