Architecture
Last updated
Was this helpful?
Last updated
Was this helpful?
Disclaimer
Representing the general architecture for transferring a token from one chain to another is rather complex, as the smart contracts used can be different depending on the token. However, if Crocross is in charge of developing smart contracts, the architecture will closely match that illustrated in the diagram below.
Diagram
Polygon is the home blockchain where tokens are intially minted
Ethereum is the destination blockhain
Crocross implements Chainlink and LayerZero protocols
Bridge X is another Bridge that implements the LayerZero protocol
The AAA token is the transferred token
=> If the token is transferred from Polygon to Ethereum, then the token is locked on Polygon and minted on Ethereum.
=>If the token is transferred from Ethereum to Polygon, then the token is burned on Ethereum and unlocked on Polygon.
=> You can use one protocol for the aisle, and another for the return.
=> If a protocol no longer functions, it is still possible to transfer tokens in both directions (protocol-independent).
=> If a web interface no longer works, you can always use another one (interface-independent).