5 Essential Elements For scroll bridge
5 Essential Elements For scroll bridge
Blog Article
The number of supported tokens is proscribed. Tokens not supported require conversion into other tokens right before becoming bridged.
Within the quite very first token bridging, a completely new token are going to be developed on L2 that implements the ScrollStandardERC20. To bridge a token, contact the depositERC20 function on the L1GatewayRouter.
Choose your deposit manner. The Rapidly choice initiates a bridge transfer right away, whilst the Economic climate possibility groups multiple requests collectively and initiates only one bridge transfer for the batch, sharing the cost amongst all integrated requests.
To rejoice the launch of Scroll’s mainnet we’ve partnered with Galxe to offer early explorers a limited version NFT for bridging to Scroll as a result of rhino.fi.
If a token desires custom logic on L2, it's going to must be bridged by an L1CustomERC20Gateway and L2CustomERC20Gateway respectively. The custom token on L2 will require to give permission towards the Gateway to mint new tokens each time a deposit happens and also to burn off when tokens are withdrawn
Contemplate reviewing all of the contracts and usually using the same preset Solidity pragma Model in all of them. This can assist enhance regularity scroll bridge and stay clear of compiling contracts with unpredicted compiler versions.
by means of the L1MessageQueue, the transaction’s sender would be the tackle of your consumer sending the transaction, not the
Several gatherings are described during the interface, Whilst in other cases They're defined within the implementation contract.
When the transaction is confirmed, Check out your Scroll wallet for SCRL tokens, indicating the prosperous completion with the bridging course of action.
In this kind of dropping state of affairs, since the address that despatched the information to your L1ScrollMessenger deal is definitely the a single that can be identified as to execute the onDropMessage hook, if this sort of hook is just not executed, the dropping mechanism will fall short and the initial consumer won't get their ETH again.
Deprecated: the performance of this deal has become moved for the L1MessageQueue agreement. It had been used to relay the L2 basefee on L1 inside a trustworthy way employing a whitelist. It had been also used to retail store and update values relevant to intrinsic gas cost calculations.
This means they are able to execute any function on L2 from the transaction designed on L1 by way of the bridge. Even though an application could instantly move messages to current token contracts, the Gateway abstracts the specifics and simplifies earning transfers and calls.
In case you have any questions on Scroll, bridges in copyright or anything else associated with this article, don’t wait to achieve out on Twitter or Discord. We’ll be waiting to answer you.
Shift to Symbiosis WebApp and carry out the necessary on-chain action: whether it’s a cross-chain swap around $a hundred to Scroll Mainnet or another thing.