The best Side of Scrollbridge
The best Side of Scrollbridge
Blog Article
L1 -> L2 messages sent using this contract purchase L2 fuel on L1 and can have the aliased address of the agreement since the sender. This contract retailers the subsequent tokens: ETH.
Gasoline limit required to complete the deposit on L1. This is optional, send 0 in the event you don’t wish to set it.
Within the impending sections, We're going to discover the complex components of the bridge, including the smart deal API needed to make use of its capabilities.
SNARK verification keys is often generated and checked towards Ethereum verifier contract applying this tutorial. The technique requires a trusted setup.
Most important entry point for depositing ETH and ERC20 tokens, that happen to be then forwarded to the proper gateway.
Gasoline limit essential to finish the deposit on L2. 170000 must be ample to course of action the transaction, but unused cash are refunded.
Enter Scroll, a System that bridges the gap among Ethereum and also other blockchains, enabling end users to transfer tokens seamlessly across unique networks.
This can be relevant since the _msgSender call will then be Section of the _xDomainCalldata data that may be utilized to keep track of the concept (with its hash) but will likely be employed just in case the information must be dropped.
We could go on at duration about what a practical support We've got, but we'll Restrict ourselves to a few text
Phesant Bridge is meant to facilitate speedy and protected cross-chain transfers of property. It leverages a hybrid tactic combining on-chain sensible contracts with off-chain factors to boost effectiveness and trustworthiness in bridging operations.
Throughout the codebase, there are a few situations during which the interface differs from the actual implementation:
Stargate is really a composable cross-chain bridge that gives indigenous asset transfers between blockchains.
In case you have any questions on Scroll, bridges in copyright or the rest referring to this text, don’t be reluctant to reach out on Twitter or Discord. We’ll be waiting to answer you.
Being Component of the Scroll Gateway, it's essential to Call the Scroll workforce so as to add the token to both equally L1 and L2 bridge contracts. To take action, Stick to the Directions around the token lists repository to add Scrollbridge your new token into the Formal Scroll frontend.