Search code examples
pythonblockchaincartesi

How Portal in Cartesi Rollups works?


I'm reading about the Portal of Cartesi Rollups (https://cartesi.io/en/docs/cartesi-rollups/components/), i understand the overview of the concept of Portal, but i want to know more about that.

When someone sends asset to the Portal, it will send info to the DApps => It means the backend will recevice a message through advanced, right? So what is the example payload of that message?


Solution

  • In the official github repo for examples of usage there is the ERC-20 Deposit DApp, which is an specific example (written in Python) to demonstrate how to send assets to the Portal and how to handle it in the backend.