You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/en/developers/developer-quickstart.mdx
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ If you run into any issues, please reach out in [our Discord](https://discord.gg
24
24
25
25
Scroll uses ETH as its native currency, which will be needed to pay transaction fees for deploying and interacting with the network.
26
26
27
-
To start building on Scroll, we suggest you begin with using our Scroll Sepolia testnet. You'll first need to acquire some testnet ETH. See the [Faucet](/user-guide/faucet) page for tips on getting test tokens on Sepolia. After this, you can bridge your testnet ETH to the Scroll Sepolia Testnet (Layer 2) using our [Bridge](/user-guide/bridge).
27
+
To start building on Scroll, we suggest you begin with using our Scroll Sepolia testnet. You'll first need to acquire some testnet ETH. See the [Faucet](/user-guide/faucet) page for tips on getting test tokens on Sepolia. After this, you can bridge your testnet ETH to the Scroll Sepolia Testnet (Layer 2) using our [Sepolia Bridge](https://sepolia.scroll.io/bridge), as described in the [Bridge article](/user-guide/bridge).
28
28
29
29
For a walkthrough, start with the User Guide's [Setup](/user-guide/setup) page.
30
30
@@ -45,11 +45,12 @@ Use the table below to configure your Ethereum tools to the Scroll mainnet.
45
45
46
46
<ToggleElementanchor="mainnet-additional-infra">
47
47
<divslot="title">Additional Scroll Mainnet RPCs and Infra</div>
48
+
-[Scroll Native Bridge](https://scroll.io/bridge)
48
49
-[Scroll RPC Providers on ChainList.org](https://chainlist.org/chain/534352)
49
50
-[Ethereum RPC Providers on ChainList.org](https://chainlist.org/chain/1)
A number of technical details differ between Ethereum mainnet's EVM and Scroll's modified design for a zkEVM. Below you can see those differences as they exist on Scroll Sepolia.
13
+
A number of technical details differ between Ethereum mainnet's EVM and Scroll's modified design for a zkEVM. Below you can see those differences as they exist on Scroll and Scroll Sepolia.
14
14
15
15
For open-source contributors and infrastructure builders, please contact our team for additional support.
16
16
@@ -71,7 +71,7 @@ When verifying `EXTCODESIZE`, it is expensive to load the whole contract data in
71
71
72
72
## Block Time
73
73
74
-
The Sepolia Testnet aims for a constant block time of 3 seconds. This is shorter and more consistent than the 12 seconds used in the Ethereum under ideal conditions.
74
+
Scroll aims for a constant block time of 3 seconds. This is shorter and more consistent than the 12 seconds used in the Ethereum under ideal conditions.
75
75
76
76
This was chosen for two reasons:
77
77
@@ -90,7 +90,7 @@ You can read in more detail on Shanghai hard fork differences from London on the
90
90
91
91
## Transaction Fees
92
92
93
-
The fee charged to Scroll Sepolia transactions contains two parts:
93
+
The fee charged to Scroll transactions contains two parts:
94
94
95
95
-**L2 gas fee:** similar to L1, the amount of L2 execution fee equals to `L2_gas_price * L2_gas_used`, covering the following costs:
Copy file name to clipboardExpand all lines: src/content/docs/en/developers/l1-and-l2-bridging/the-scroll-messenger.mdx
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,11 +24,15 @@ the messenger smart contract deployed on L1, `L1ScrollMessenger`. To send a mess
24
24
## Finalizing transactions on L1
25
25
26
26
Any upcoming transactions from L2 need to be finalized using the `relayMessageWithProof` function on the Scroll Messenger
27
-
contract. We call this process "submitting an Execute Withdrawal transaction," and it is required for both sending arbitrary messages and transferring assets through a gateway or the router. When you use `relayMessageWithProof`, you'll have to provide a Merkle inclusion proof showing your transaction is included in the trie of "withdrawal" messages, along with other parameters. Producing this proof and these values can be done locally and permissionlessly, but at the moment, the easiest way to retrieve these parameters is through our backend API hosted at https://sepolia-api-bridge.scroll.io/api/.
27
+
contract. We call this process "submitting an Execute Withdrawal transaction," and it is required for both sending arbitrary messages and transferring assets through a gateway or the router. When you use `relayMessageWithProof`, you'll have to provide a Merkle inclusion proof showing your transaction is included in the trie of "withdrawal" messages, along with other parameters. Producing this proof and these values can be done locally and permissionlessly, but at the moment, the easiest way to retrieve these parameters is through our backend APIs:
In this article you'll find useful contract addresses for Scroll and commonly used protocols. See the section below for [Scroll Sepolia](#scroll-sepolia-testnet) info.
| Block Explorer URL |[https://sepolia-blockscout.scroll.io](https://sepolia-blockscout.scroll.io/)|[https://sepolia.etherscan.io](https://sepolia.etherscan.io)|
18
+
Use the table below to configure your Ethereum tools to the Scroll mainnet.
Copy file name to clipboardExpand all lines: src/content/docs/en/developers/transaction-fees-on-scroll.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,11 @@ import Aside from "../../../../components/Aside.astro"
12
12
13
13
## Overview
14
14
15
-
Scroll Sepolia Testnet fees are notably lower than on its supporting layer. For users and developers, transaction fees on Scroll appear to work similarly to those on Ethereum mainnet, and existing tools, wallets, and code will likely work as if they were. However, the transaction fee shown in the wallet isn't the whole picture unless the software is specifically aware of Scroll's fee calculations.
15
+
Scroll fees are notably lower than on its supporting layer. For users and developers, transaction fees on Scroll appear to work similarly to those on Ethereum mainnet, and existing tools, wallets, and code will likely work as if they were. However, the transaction fee shown in the wallet isn't the whole picture unless the software is specifically aware of Scroll's fee calculations.
16
16
17
17
Due to the design of L2 rollups, transaction costs depend on the L1's costs. To leverage Ethereum's security, Scroll must account for the cost of the transaction data and proofs that must be stored and verified on the L1.
18
18
19
-
Compared to Ethereum mainnet, Scroll Sepolia introduces some new dimensions to transaction fee calculation to do this. The final cost of a transaction is constructed from several parts:
19
+
Compared to Ethereum mainnet, Scroll introduces some new dimensions to transaction fee calculation to do this. The final cost of a transaction is constructed from several parts:
20
20
21
21
-**L2 fee**
22
22
- Calculated in the same manner as on the L1, equaling `gas_price * gas_used`
@@ -60,7 +60,7 @@ Transactions aren't committed 1-by-1 -- they are collected in batches of blocks
60
60
61
61
### Estimating the L1 Data Fee
62
62
63
-
Scroll has a pre-deployed `L1GasPriceOracle`, accessible on Scroll Sepolia at ([`0x5300000000000000000000000000000000000002`](https://sepolia-blockscout.scroll.io/address/0x5300000000000000000000000000000000000002)). It provides a `getL1Fee` method to estimate the L1 data fee for a given transaction's raw data.
63
+
Scroll has a pre-deployed `L1GasPriceOracle`, accessible on both Scroll and Scroll Sepolia at ([`0x5300000000000000000000000000000000000002`](https://sepolia-blockscout.scroll.io/address/0x5300000000000000000000000000000000000002)). It provides a `getL1Fee` method to estimate the L1 data fee for a given transaction's raw data.
64
64
65
65
```solidity
66
66
function getL1Fee(bytes memory _data) external view override returns (uint256);
0 commit comments