Skip to content

Commit a1d9283

Browse files
committed
update for mainnet content
1 parent 649be03 commit a1d9283

File tree

8 files changed

+184
-39
lines changed

8 files changed

+184
-39
lines changed

public/locales/en/translation.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,13 @@
9696
"bridgingERC1155ThroughCustomGateway": "Bridging ERC1155 through Custom Gateway",
9797
"estimatingGasAndTxFees": "Estimating Gas & Tx Fees",
9898
"resources": "Resources",
99+
"mainnetResources": "Mainnet Resources",
100+
"sepoliaResources": "Sepolia Resources",
101+
"scrollBlockExplorer": "Scrollscan Explorer",
99102
"rollupExplorer": "Rollup Explorer",
100103
"scrollSepoliaBlockExplorer": "Scroll Sepolia Explorer",
101-
"sepoliaBlockExplorer": "Sepolia Explorer"
104+
"sepoliaRollupExplorer": "Rollup Explorer",
105+
"sepoliaBlockExplorer": "Scrollscan Explorer"
102106
},
103107
"technology": {
104108
"introduction": "Introduction",

src/config/sidebar.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,17 @@ export const getSidebar = () => {
154154
],
155155
},
156156
{
157-
section: t("sidebar.developers.resources"),
157+
section: t("sidebar.developers.mainnetResources"),
158158
contents: [
159159
{ title: t("sidebar.developers.rollupExplorer"), url: "https://scroll.io/rollupscan" },
160-
{ title: t("sidebar.developers.scrollSepoliaBlockExplorer"), url: "https://sepolia-blockscout.scroll.io/" },
161-
{ title: t("sidebar.developers.sepoliaBlockExplorer"), url: "https://sepolia.etherscan.io/" },
160+
{ title: t("sidebar.developers.scrollBlockExplorer"), url: "https://scrollscan.com/" },
161+
],
162+
},
163+
{
164+
section: t("sidebar.developers.sepoliaResources"),
165+
contents: [
166+
{ title: t("sidebar.developers.sepoliaRollupExplorer"), url: "https://sepolia.scroll.io/rollupscan" },
167+
{ title: t("sidebar.developers.scrollSepoliaBlockExplorer"), url: "https://sepolia.scrollscan.dev/" },
162168
],
163169
},
164170
],

src/content/docs/en/developers/developer-quickstart.mdx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ If you run into any issues, please reach out in [our Discord](https://discord.gg
2424

2525
Scroll uses ETH as its native currency, which will be needed to pay transaction fees for deploying and interacting with the network.
2626

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).
2828

2929
For a walkthrough, start with the User Guide's [Setup](/user-guide/setup) page.
3030

@@ -45,11 +45,12 @@ Use the table below to configure your Ethereum tools to the Scroll mainnet.
4545

4646
<ToggleElement anchor="mainnet-additional-infra">
4747
<div slot="title">Additional Scroll Mainnet RPCs and Infra</div>
48+
- [Scroll Native Bridge](https://scroll.io/bridge)
4849
- [Scroll RPC Providers on ChainList.org](https://chainlist.org/chain/534352)
4950
- [Ethereum RPC Providers on ChainList.org](https://chainlist.org/chain/1)
50-
- Additional Block Explorers:
51+
{/* - Additional Block Explorers:
5152
- [Dora](https://www.ondora.xyz/network/scroll/interactions)
52-
- [L2Scan](https://scroll.l2scan.co/)
53+
- [L2Scan](https://scroll.l2scan.co/) */}
5354

5455
</ToggleElement>
5556

@@ -66,10 +67,12 @@ Use the table below to configure your Ethereum tools to the Scroll Sepolia Testn
6667

6768
<ToggleElement anchor="sepolia-additional-infra">
6869
<div slot="title">Additional Scroll Sepolia RPCs and Infra</div>
70+
- [Scroll Sepolia Native Bridge](https://sepolia.scroll.io/bridge)
6971
- [Scroll Sepolia RPC Providers on ChainList.org](https://chainlist.org/chain/534351)
7072
- [Ethereum Sepolia RPC Providers on ChainList.org](https://chainlist.org/chain/11155111)
7173
- Additional Block Explorers:
7274
- [Dora](https://www.ondora.xyz/network/scroll-sepolia/interactions)
75+
- [L2Scan](https://scroll.l2scan.co/)
7376

7477
</ToggleElement>
7578

src/content/docs/en/developers/ethereum-and-scroll-differences.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ excerpt: "There are a number of technical details that differ between Ethereum m
1010

1111
import Aside from "../../../../components/Aside.astro"
1212

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 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.
1414

1515
For open-source contributors and infrastructure builders, please contact our team for additional support.
1616

@@ -71,7 +71,7 @@ When verifying `EXTCODESIZE`, it is expensive to load the whole contract data in
7171

7272
## Block Time
7373

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.
7575

7676
This was chosen for two reasons:
7777

@@ -90,7 +90,7 @@ You can read in more detail on Shanghai hard fork differences from London on the
9090

9191
## Transaction Fees
9292

93-
The fee charged to Scroll Sepolia transactions contains two parts:
93+
The fee charged to Scroll transactions contains two parts:
9494

9595
- **L2 gas fee:** similar to L1, the amount of L2 execution fee equals to `L2_gas_price * L2_gas_used`, covering the following costs:
9696
- L2 sequencer execution & storage cost

src/content/docs/en/developers/l1-and-l2-bridging/the-scroll-messenger.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,15 @@ the messenger smart contract deployed on L1, `L1ScrollMessenger`. To send a mess
2424
## Finalizing transactions on L1
2525

2626
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:
28+
29+
- Scroll Sepolia API: https://sepolia-api-bridge.scroll.io/api/
30+
- Scroll API: https://mainnet-api-bridge.scroll.io/api/
2831

2932
<Aside type="danger" title="Experimental API">
3033
This API was made for our Bridge UI. It is not yet finalized and may change in the future. We will update this guide
31-
when the API is finalized.
34+
when the API is finalized. Additionally, all examples below use the Sepolia API service -- the calls should be easily
35+
adapted to work on mainnet.
3236
</Aside>
3337

3438
Supply the address of the EOA or contract responsible for initiating the original transaction on L2 to the `/claimable`

src/content/docs/en/developers/scroll-contracts.mdx

Lines changed: 139 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,157 @@
11
---
22
section: developers
33
date: Last Modified
4-
title: "Scroll Sepolia Contracts"
4+
title: "Scroll Contracts"
55
lang: "en"
66
permalink: "developers/scroll-contracts"
77
whatsnext: { "Ethereum & Scroll Differences": "/developers/ethereum-and-scroll-differences" }
88
excerpt: "The network info and contract addresses you need to start with Scroll Sepolia Testnet."
99
---
1010

1111
import Aside from "../../../../components/Aside.astro"
12+
import ToggleElement from "../../../../components/ToggleElement.astro"
13+
14+
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.
1215

1316
## Network Info
1417

15-
| Network Name | Scroll Sepolia Testnet | Sepolia Testnet |
16-
| ------------------ | ----------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
17-
| RPC URL | [https://sepolia-rpc.scroll.io/](https://sepolia-rpc.scroll.io/) | [https://eth-sepolia-public.unifra.io](https://eth-sepolia-public.unifra.io) |
18-
| Chain ID | 534351 | 11155111 |
19-
| Currency Symbol | ETH | ETH |
20-
| 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.
19+
20+
| Network Name | Scroll | Ethereum Mainnet |
21+
| ------------------ | -------------------------------------------------- | ---------------------------------------------------- |
22+
| RPC URL | [https://rpc.scroll.io/](https://rpc.scroll.io/) | [https://eth.llamarpc.com](https://eth.llamarpc.com) |
23+
| Chain ID | 534352 | 1 |
24+
| Currency Symbol | ETH | ETH |
25+
| Block Explorer URL | [https://scrollscan.com/](https://scrollscan.com/) | [https://etherscan.io](https://etherscan.io) |
26+
27+
<ToggleElement anchor="mainnet-additional-infra">
28+
<div slot="title">Additional Scroll Mainnet RPCs and Infra</div>
29+
- [Scroll Native Bridge](https://scroll.io/bridge)
30+
- [Scroll Rollup Scanner](https://scroll.io/rollupscan)
31+
- [Scroll RPC Providers on ChainList.org](https://chainlist.org/chain/534352)
32+
- [Ethereum RPC Providers on ChainList.org](https://chainlist.org/chain/1)
33+
{/* - Additional Block Explorers:
34+
- [Dora](https://www.ondora.xyz/network/scroll/interactions)
35+
- [L2Scan](https://scroll.l2scan.co/) */}
36+
37+
</ToggleElement>
2138

22-
## Scroll Sepolia Contracts
39+
## Scroll Contracts
2340

2441
### Rollup
2542

26-
- L1 Rollup (Scroll Chain): `0x2D567EcE699Eabe5afCd141eDB7A4f2D0D6ce8a0`
43+
- L1 Rollup (Scroll Chain): `0xa13BAF47339d63B743e7Da8741db5456DAc1E556`
2744

2845
### ETH and ERC20 Bridge
2946

47+
- L1 ERC20 Gateway Router: `0xF8B1378579659D8F7EE5f3C929c2f3E332E41Fd6`
48+
- L2 ERC20 Gateway Router: `0x4C0926FF5252A435FD19e10ED15e5a249Ba19d79`
49+
50+
### Advanced Bridge Contracts
51+
52+
- Scroll Messenger
53+
- L1 Messenger: `0x6774Bcbd5ceCeF1336b5300fb5186a12DDD8b367`
54+
- L2 Messenger: `0x781e90f1c8Fc4611c9b7497C3B47F99Ef6969CbC`
55+
- ETH Bridge
56+
- L1 ETH Gateway: `0x7F2b8C31F88B6006c382775eea88297Ec1e3E905`
57+
- L2 ETH Gateway: `0x6EA73e05AdC79974B931123675ea8F78FfdacDF0`
58+
- L1 WETH Gateway: `0x7AC440cAe8EB6328de4fA621163a792c1EA9D4fE`
59+
- L2 WETH Gateway: `0x7003E7B7186f0E6601203b99F7B8DECBfA391cf9`
60+
- ERC20 Bridge
61+
- L1 ERC20 Standard Gateway: `0xD8A791fE2bE73eb6E6cF1eb0cb3F36adC9B3F8f9`
62+
- L2 ERC20 Standard Gateway: `0xE2b4795039517653c5Ae8C2A9BFdd783b48f447A`
63+
- L1 ERC20 Custom Gateway: `0xb2b10a289A229415a124EFDeF310C10cb004B6ff`
64+
- L2 ERC20 Custom Gateway: `0x64CCBE37c9A82D85A1F2E74649b7A42923067988`
65+
- ERC721 Bridge
66+
- L1 ERC721 Gateway: `0x6260aF48e8948617b8FA17F4e5CEa2d21D21554B`
67+
- L2 ERC721 Gateway: `0x7bC08E1c04fb41d75F1410363F0c5746Eae80582`
68+
- ERC1155 Bridge
69+
- L1 ERC1155 Gateway: `0xb94f7F6ABcb811c5Ac709dE14E37590fcCd975B6`
70+
- L2 ERC1155 Gateway: `0x62597Cc19703aF10B58feF87B0d5D29eFE263bcc`
71+
- Gas Oracle
72+
- L2 Gas Oracle (deployed on Mainnet): `0x987e300fDfb06093859358522a79098848C33852`
73+
74+
### L2 Predeploys
75+
76+
- Message Queue: `0x5300000000000000000000000000000000000000`
77+
- Gas Price Oracle: `0x5300000000000000000000000000000000000002`
78+
- Whitelist: `0x5300000000000000000000000000000000000003`
79+
- WETH L2: `0x5300000000000000000000000000000000000004`
80+
- Transaction Fee Vault: `0x5300000000000000000000000000000000000005`
81+
82+
## Protocols on Scroll Mainnet
83+
84+
### Uniswap v3
85+
86+
- Main Contracts
87+
- Core Factory: `0x70C62C8b8e801124A4Aa81ce07b637A3e83cb919`
88+
- NFT Position Manager: `0xB39002E4033b162fAc607fc3471E205FA2aE5967`
89+
- Router: `0xfc30937f5cDe93Df8d48aCAF7e6f5D8D8A31F636`
90+
- Additional Contracts
91+
- multicall2Address: `0xC1D2e074C38FdD5CA965000668420C80316F0915`
92+
- proxyAdminAddress: `0x1E6dcAb806A42055098f23E2B3ac72D6E195F967`
93+
- tickLensAddress: `0x85780e12e90D2a684eB8E7404c985b5B5c8ce7E9`
94+
- nftDescriptorLibraryAddressV1_3_0: `0xAeE9c206ba89F3DA25EEe4636208519e0B86965B`
95+
- nonfungibleTokenPositionDescriptorAddressV1_3_0: `0xACcf12204b7591B2ECCEFe737440B0f53748B191`
96+
- descriptorProxyAddress: `0x675DD953225D296A44790dC1390a1E7eF378f464`
97+
- v3MigratorAddress: `0xF00577B5Dd0DA227298E954Ed11356F264Cf93d4`
98+
- v3StakerAddress: `0xFdFbE973c9ecB036Ecfb7af697FcACe789D3f928`
99+
- quoterV2Address: `0x2566e082Cb1656d22BCbe5644F5b997D194b5299`
100+
101+
## Additional Useful Contracts
102+
103+
- Multicall3: `0xcA11bde05977b3631167028862bE2a173976CA11`
104+
105+
## Tokens
106+
107+
<Aside type="note" title="">
108+
Bridged tokens from Ethereum Mainnet using the native bridge can be found on and added to the
109+
[token-list](https://github.com/scroll-tech/token-list) repo.
110+
</Aside>
111+
112+
{" "}
113+
114+
<br />
115+
116+
---
117+
118+
## Scroll Sepolia Testnet
119+
120+
### Network Info
121+
122+
Use the table below to configure your Ethereum tools to the Scroll Sepolia Testnet.
123+
124+
| Network Name | Scroll Sepolia | Ethereum Sepolia |
125+
| ------------------ | ----------------------------------------------------------------- | ------------------------------------------------------------ |
126+
| RPC URL | [https://sepolia-rpc.scroll.io/](https://sepolia-rpc.scroll.io/) | [https://rpc2.sepolia.org](https://rpc2.sepolia.org) |
127+
| Chain ID | 534351 | 11155111 |
128+
| Currency Symbol | ETH | ETH |
129+
| Block Explorer URL | [https://sepolia.scrollscan.com](https://sepolia.scrollscan.com/) | [https://sepolia.etherscan.io](https://sepolia.etherscan.io) |
130+
131+
<ToggleElement anchor="sepolia-additional-infra">
132+
<div slot="title">Additional Scroll Sepolia RPCs and Infra</div>
133+
- [Scroll Sepolia Native Bridge](https://sepolia.scroll.io/bridge)
134+
- [Scroll Sepolia Rollup Scanner](https://sepolia.scroll.io/rollupscan)
135+
- [Scroll Sepolia RPC Providers on ChainList.org](https://chainlist.org/chain/534351)
136+
- [Ethereum Sepolia RPC Providers on ChainList.org](https://chainlist.org/chain/11155111)
137+
- Additional Block Explorers:
138+
- [Dora](https://www.ondora.xyz/network/scroll-sepolia/interactions)
139+
- [L2Scan](https://scroll.l2scan.co/)
140+
141+
</ToggleElement>
142+
143+
### Scroll Sepolia Contracts
144+
145+
#### Rollup
146+
147+
- L1 Rollup (Scroll Chain): `0x2D567EcE699Eabe5afCd141eDB7A4f2D0D6ce8a0`
148+
149+
#### ETH and ERC20 Bridge
150+
30151
- L1 ERC20 Gateway Router: `0x13FBE0D0e5552b8c9c4AE9e2435F38f37355998a`
31152
- L2 ERC20 Gateway Router: `0x9aD3c5617eCAa556d6E166787A97081907171230`
32153

33-
### Advanced Bridge Contracts
154+
#### Advanced Bridge Contracts
34155

35156
- Scroll Messenger
36157
- L1 Messenger: `0x50c7d3e7f7c656493D1D76aaa1a836CedfCBB16A`
@@ -54,17 +175,17 @@ import Aside from "../../../../components/Aside.astro"
54175
- Gas Oracle
55176
- L2 Gas Oracle (deployed on Sepolia): `0x247969F4fad93a33d4826046bc3eAE0D36BdE548`
56177

57-
### L2 Predeploys
178+
#### L2 Predeploys
58179

59180
- Message Queue: `0x5300000000000000000000000000000000000000`
60181
- Gas Price Oracle: `0x5300000000000000000000000000000000000002`
61182
- Whitelist: `0x5300000000000000000000000000000000000003`
62183
- WETH L2: `0x5300000000000000000000000000000000000004`
63184
- Transaction Fee Vault: `0x5300000000000000000000000000000000000005`
64185

65-
## Protocols on Sepolia
186+
### Protocols
66187

67-
### Uniswap v3
188+
#### Uniswap v3
68189

69190
- Frontend website: [https://uniswap-showcase.sepolia.scroll.xyz/](https://uniswap-showcase.sepolia.scroll.xyz/)
70191
- Main Contracts
@@ -82,19 +203,19 @@ import Aside from "../../../../components/Aside.astro"
82203
- v3StakerAddress: `0xe7b82794Cab21e665a3e6f8ea562d392AA6E0619`
83204
- quoterV2Address: `0xd5dd33650Ef1DC6D23069aEDC8EAE87b0D3619B2`
84205

85-
### Aave
206+
#### Aave
86207

87208
See this [Github gist](https://gist.github.com/dghelm/7fe68f0a524f30846e1142721c081d84).
88209

89-
## Additional Useful Contracts
210+
### Additional Useful Contracts
90211

91212
- Multicall3: `0xcA11bde05977b3631167028862bE2a173976CA11`
92213

93-
## Tokens
214+
### Tokens
94215

95216
<Aside type="note" title="">
96-
Bridged tokens from Sepolia using the native bridge can be added to the
97-
[token-list](https://github.com/scroll-tech/token-list) repo.
217+
Bridged tokens from Ethereum Sepolia using the native bridge can be added to the
218+
[token-list](https://github.com/scroll-tech/token-list/tree/sepolia) repo's `sepolia` branch.
98219
</Aside>
99220

100221
- Gho Token: `0xD9692f1748aFEe00FACE2da35242417dd05a8615`

src/content/docs/en/developers/transaction-fees-on-scroll.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ import Aside from "../../../../components/Aside.astro"
1212

1313
## Overview
1414

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.
1616

1717
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.
1818

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:
2020

2121
- **L2 fee**
2222
- 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
6060

6161
### Estimating the L1 Data Fee
6262

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.
6464

6565
```solidity
6666
function getL1Fee(bytes memory _data) external view override returns (uint256);

0 commit comments

Comments
 (0)