From 649be0311d863b3cd4e6deb3024b608acc2ea648 Mon Sep 17 00:00:00 2001 From: Daniel Helm Date: Mon, 9 Oct 2023 20:03:57 -0500 Subject: [PATCH 1/2] initial network changes --- .../en/developers/developer-quickstart.mdx | 61 +++++++++++++++---- src/content/docs/en/developers/index.mdx | 8 +-- 2 files changed, 53 insertions(+), 16 deletions(-) diff --git a/src/content/docs/en/developers/developer-quickstart.mdx b/src/content/docs/en/developers/developer-quickstart.mdx index fc6b3f563..9e44ca320 100644 --- a/src/content/docs/en/developers/developer-quickstart.mdx +++ b/src/content/docs/en/developers/developer-quickstart.mdx @@ -12,29 +12,66 @@ import Aside from "../../../../components/Aside.astro" import ClickToZoom from "../../../../components/ClickToZoom.astro" import networkSelection from "./_images/mmNetworkSelection.png" import injectedProviderMM from "./_images/injectedProviderMM.png" +import ToggleElement from "../../../../components/ToggleElement.astro" With Scroll, your favorite tools for building and testing smart contracts just work. -Since Scroll is bytecode equivalent with the EVM, you’ll just need to point your favorite builder tools at a Scroll Sepolia Testnet RPC Provider. +Since Scroll is bytecode equivalent with the EVM, you’ll just need to point your favorite builder tools at a Scroll RPC Provider. If you run into any issues, please reach out in [our Discord](https://discord.gg/scroll). -## Acquiring Testnet Ether +## Acquiring Ether -To start building on Scroll, 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). +Scroll uses ETH as its native currency, which will be needed to pay transaction fees for deploying and interacting with the network. + +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). For a walkthrough, start with the User Guide's [Setup](/user-guide/setup) page. +Once you're ready to deploy on Scroll's mainnet, you can bridge over ETH using [our native bridge](https://scroll.io/bridge/) or one of the 3rd-party bridges. + ## Network Configuration +### Scroll Mainnet + +Use the table below to configure your Ethereum tools to the Scroll mainnet. + +| Network Name | Scroll | Ethereum Mainnet | +| ------------------ | -------------------------------------------------- | ---------------------------------------------------- | +| RPC URL | [https://rpc.scroll.io/](https://rpc.scroll.io/) | [https://eth.llamarpc.com](https://eth.llamarpc.com) | +| Chain ID | 534352 | 1 | +| Currency Symbol | ETH | ETH | +| Block Explorer URL | [https://scrollscan.com/](https://scrollscan.com/) | [https://etherscan.io](https://etherscan.io) | + + +
Additional Scroll Mainnet RPCs and Infra
+ - [Scroll RPC Providers on ChainList.org](https://chainlist.org/chain/534352) + - [Ethereum RPC Providers on ChainList.org](https://chainlist.org/chain/1) + - Additional Block Explorers: + - [Dora](https://www.ondora.xyz/network/scroll/interactions) + - [L2Scan](https://scroll.l2scan.co/) + +
+ +### Scroll Sepolia Testnet + Use the table below to configure your Ethereum tools to the Scroll Sepolia Testnet. -| Network Name | Scroll Sepolia Testnet | Sepolia Testnet | -| ------------------ | ----------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| RPC URL | [https://sepolia-rpc.scroll.io/](https://sepolia-rpc.scroll.io/) | [https://eth-sepolia-public.unifra.io](https://eth-sepolia-public.unifra.io) | -| Chain ID | 534351 | 11155111 | -| Currency Symbol | ETH | ETH | -| Block Explorer URL | [https://sepolia-blockscout.scroll.io](https://sepolia-blockscout.scroll.io/) | [https://sepolia.etherscan.io](https://sepolia.etherscan.io) | +| Network Name | Scroll Sepolia | Ethereum Sepolia | +| ------------------ | ----------------------------------------------------------------- | ------------------------------------------------------------ | +| RPC URL | [https://sepolia-rpc.scroll.io/](https://sepolia-rpc.scroll.io/) | [https://rpc2.sepolia.org](https://rpc2.sepolia.org) | +| Chain ID | 534351 | 11155111 | +| Currency Symbol | ETH | ETH | +| Block Explorer URL | [https://sepolia.scrollscan.com](https://sepolia.scrollscan.com/) | [https://sepolia.etherscan.io](https://sepolia.etherscan.io) | + + +
Additional Scroll Sepolia RPCs and Infra
+ - [Scroll Sepolia RPC Providers on ChainList.org](https://chainlist.org/chain/534351) + - [Ethereum Sepolia RPC Providers on ChainList.org](https://chainlist.org/chain/11155111) + - Additional Block Explorers: + - [Dora](https://www.ondora.xyz/network/scroll-sepolia/interactions) + +
## Configure your tooling @@ -126,7 +163,7 @@ live: - name: Ethereum networks: - chainid: 534351 - explorer: https://sepolia-blockscout.scroll.io/ + explorer: https://sepolia.scrollscan.com/ host: https://sepolia-rpc.scroll.io id: scrollSepolia name: Scroll Sepolia Testnet @@ -195,7 +232,7 @@ Be sure to fund the deployment wallet as well! Run `yarn generate` to create the To configure your frontend, you need to add the Scroll Sepolia Testnet as a network option, then select it as default. -To add the network, modify `packages/react-app/src/constants.js` . +To add the network, modify `packages/react-app/src/constants.js`. ```jsx ... @@ -206,7 +243,7 @@ export const NETWORKS = { color: "#e9d0b8", chainId: 534351, rpcUrl: "https://sepolia-rpc.scroll.io/", - blockExplorer: "https://sepolia-blockscout.scroll.io", + blockExplorer: "https://sepolia.scrollscan.com", }, ... } diff --git a/src/content/docs/en/developers/index.mdx b/src/content/docs/en/developers/index.mdx index 4875a01c7..0b9ab96a2 100644 --- a/src/content/docs/en/developers/index.mdx +++ b/src/content/docs/en/developers/index.mdx @@ -28,7 +28,7 @@ ensuring that all code executed on the Scroll Layer 2 behaves just as if it were ## Getting Started -**Looking to build on the Scroll Sepolia Testnet?** +**Looking to build on the Scroll?** - For the essentials: Check out the [Developer Quickstart](/developers/developer-quickstart) - For a tutorial walking through deploying your first smart contract on Scroll, read our [contract deployment tutorial](/developers/guides/contract-deployment-tutorial) @@ -78,9 +78,9 @@ ensuring that all code executed on the Scroll Layer 2 behaves just as if it were
Community — Scroll brings together users and builders.

- We know the challenges of building in the open and getting user engagement before mainnet release! Scroll has a - blossoming community of users and builders, and with a Discord community of over 100,000 users eager to try out - applications on our testnet, we’re excited to connect builders with users that can provide real-world feedback. + We know the challenges of building in the open and getting user engagement! Scroll has a blossoming community of + users and builders, and with a Discord community of over 500,000 members eager to try out applications on our + testnet or mainnet, we’re excited to connect builders with users that can provide real-world feedback.

From a1d928332feccfc8c2934983f4779c86bbf4c680 Mon Sep 17 00:00:00 2001 From: Daniel Helm Date: Wed, 11 Oct 2023 17:57:40 -0500 Subject: [PATCH 2/2] update for mainnet content --- public/locales/en/translation.json | 6 +- src/config/sidebar.ts | 12 +- .../en/developers/developer-quickstart.mdx | 9 +- .../ethereum-and-scroll-differences.mdx | 6 +- .../the-scroll-messenger.mdx | 8 +- .../docs/en/developers/scroll-contracts.mdx | 157 ++++++++++++++++-- .../developers/transaction-fees-on-scroll.mdx | 6 +- .../developers/verifying-smart-contracts.mdx | 19 ++- 8 files changed, 184 insertions(+), 39 deletions(-) diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index e5b4c44e5..dee650209 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -96,9 +96,13 @@ "bridgingERC1155ThroughCustomGateway": "Bridging ERC1155 through Custom Gateway", "estimatingGasAndTxFees": "Estimating Gas & Tx Fees", "resources": "Resources", + "mainnetResources": "Mainnet Resources", + "sepoliaResources": "Sepolia Resources", + "scrollBlockExplorer": "Scrollscan Explorer", "rollupExplorer": "Rollup Explorer", "scrollSepoliaBlockExplorer": "Scroll Sepolia Explorer", - "sepoliaBlockExplorer": "Sepolia Explorer" + "sepoliaRollupExplorer": "Rollup Explorer", + "sepoliaBlockExplorer": "Scrollscan Explorer" }, "technology": { "introduction": "Introduction", diff --git a/src/config/sidebar.ts b/src/config/sidebar.ts index dff7ea04d..bcab3143f 100644 --- a/src/config/sidebar.ts +++ b/src/config/sidebar.ts @@ -154,11 +154,17 @@ export const getSidebar = () => { ], }, { - section: t("sidebar.developers.resources"), + section: t("sidebar.developers.mainnetResources"), contents: [ { title: t("sidebar.developers.rollupExplorer"), url: "https://scroll.io/rollupscan" }, - { title: t("sidebar.developers.scrollSepoliaBlockExplorer"), url: "https://sepolia-blockscout.scroll.io/" }, - { title: t("sidebar.developers.sepoliaBlockExplorer"), url: "https://sepolia.etherscan.io/" }, + { title: t("sidebar.developers.scrollBlockExplorer"), url: "https://scrollscan.com/" }, + ], + }, + { + section: t("sidebar.developers.sepoliaResources"), + contents: [ + { title: t("sidebar.developers.sepoliaRollupExplorer"), url: "https://sepolia.scroll.io/rollupscan" }, + { title: t("sidebar.developers.scrollSepoliaBlockExplorer"), url: "https://sepolia.scrollscan.dev/" }, ], }, ], diff --git a/src/content/docs/en/developers/developer-quickstart.mdx b/src/content/docs/en/developers/developer-quickstart.mdx index 9e44ca320..302f4f214 100644 --- a/src/content/docs/en/developers/developer-quickstart.mdx +++ b/src/content/docs/en/developers/developer-quickstart.mdx @@ -24,7 +24,7 @@ If you run into any issues, please reach out in [our Discord](https://discord.gg Scroll uses ETH as its native currency, which will be needed to pay transaction fees for deploying and interacting with the network. -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). +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). For a walkthrough, start with the User Guide's [Setup](/user-guide/setup) page. @@ -45,11 +45,12 @@ Use the table below to configure your Ethereum tools to the Scroll mainnet.
Additional Scroll Mainnet RPCs and Infra
+ - [Scroll Native Bridge](https://scroll.io/bridge) - [Scroll RPC Providers on ChainList.org](https://chainlist.org/chain/534352) - [Ethereum RPC Providers on ChainList.org](https://chainlist.org/chain/1) - - Additional Block Explorers: + {/* - Additional Block Explorers: - [Dora](https://www.ondora.xyz/network/scroll/interactions) - - [L2Scan](https://scroll.l2scan.co/) + - [L2Scan](https://scroll.l2scan.co/) */}
@@ -66,10 +67,12 @@ Use the table below to configure your Ethereum tools to the Scroll Sepolia Testn
Additional Scroll Sepolia RPCs and Infra
+ - [Scroll Sepolia Native Bridge](https://sepolia.scroll.io/bridge) - [Scroll Sepolia RPC Providers on ChainList.org](https://chainlist.org/chain/534351) - [Ethereum Sepolia RPC Providers on ChainList.org](https://chainlist.org/chain/11155111) - Additional Block Explorers: - [Dora](https://www.ondora.xyz/network/scroll-sepolia/interactions) + - [L2Scan](https://scroll.l2scan.co/)
diff --git a/src/content/docs/en/developers/ethereum-and-scroll-differences.mdx b/src/content/docs/en/developers/ethereum-and-scroll-differences.mdx index ad849c063..4328eb611 100644 --- a/src/content/docs/en/developers/ethereum-and-scroll-differences.mdx +++ b/src/content/docs/en/developers/ethereum-and-scroll-differences.mdx @@ -10,7 +10,7 @@ excerpt: "There are a number of technical details that differ between Ethereum m import Aside from "../../../../components/Aside.astro" -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. +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. For open-source contributors and infrastructure builders, please contact our team for additional support. @@ -71,7 +71,7 @@ When verifying `EXTCODESIZE`, it is expensive to load the whole contract data in ## Block Time -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. +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. This was chosen for two reasons: @@ -90,7 +90,7 @@ You can read in more detail on Shanghai hard fork differences from London on the ## Transaction Fees -The fee charged to Scroll Sepolia transactions contains two parts: +The fee charged to Scroll transactions contains two parts: - **L2 gas fee:** similar to L1, the amount of L2 execution fee equals to `L2_gas_price * L2_gas_used`, covering the following costs: - L2 sequencer execution & storage cost diff --git a/src/content/docs/en/developers/l1-and-l2-bridging/the-scroll-messenger.mdx b/src/content/docs/en/developers/l1-and-l2-bridging/the-scroll-messenger.mdx index 10ee9b867..fb21fb219 100644 --- a/src/content/docs/en/developers/l1-and-l2-bridging/the-scroll-messenger.mdx +++ b/src/content/docs/en/developers/l1-and-l2-bridging/the-scroll-messenger.mdx @@ -24,11 +24,15 @@ the messenger smart contract deployed on L1, `L1ScrollMessenger`. To send a mess ## Finalizing transactions on L1 Any upcoming transactions from L2 need to be finalized using the `relayMessageWithProof` function on the Scroll Messenger -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/. +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: + +- Scroll Sepolia API: https://sepolia-api-bridge.scroll.io/api/ +- Scroll API: https://mainnet-api-bridge.scroll.io/api/ Supply the address of the EOA or contract responsible for initiating the original transaction on L2 to the `/claimable` diff --git a/src/content/docs/en/developers/scroll-contracts.mdx b/src/content/docs/en/developers/scroll-contracts.mdx index 0570b661c..9554390cd 100644 --- a/src/content/docs/en/developers/scroll-contracts.mdx +++ b/src/content/docs/en/developers/scroll-contracts.mdx @@ -1,7 +1,7 @@ --- section: developers date: Last Modified -title: "Scroll Sepolia Contracts" +title: "Scroll Contracts" lang: "en" permalink: "developers/scroll-contracts" whatsnext: { "Ethereum & Scroll Differences": "/developers/ethereum-and-scroll-differences" } @@ -9,28 +9,149 @@ excerpt: "The network info and contract addresses you need to start with Scroll --- import Aside from "../../../../components/Aside.astro" +import ToggleElement from "../../../../components/ToggleElement.astro" + +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. ## Network Info -| Network Name | Scroll Sepolia Testnet | Sepolia Testnet | -| ------------------ | ----------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| RPC URL | [https://sepolia-rpc.scroll.io/](https://sepolia-rpc.scroll.io/) | [https://eth-sepolia-public.unifra.io](https://eth-sepolia-public.unifra.io) | -| Chain ID | 534351 | 11155111 | -| Currency Symbol | ETH | ETH | -| Block Explorer URL | [https://sepolia-blockscout.scroll.io](https://sepolia-blockscout.scroll.io/) | [https://sepolia.etherscan.io](https://sepolia.etherscan.io) | +Use the table below to configure your Ethereum tools to the Scroll mainnet. + +| Network Name | Scroll | Ethereum Mainnet | +| ------------------ | -------------------------------------------------- | ---------------------------------------------------- | +| RPC URL | [https://rpc.scroll.io/](https://rpc.scroll.io/) | [https://eth.llamarpc.com](https://eth.llamarpc.com) | +| Chain ID | 534352 | 1 | +| Currency Symbol | ETH | ETH | +| Block Explorer URL | [https://scrollscan.com/](https://scrollscan.com/) | [https://etherscan.io](https://etherscan.io) | + + +
Additional Scroll Mainnet RPCs and Infra
+ - [Scroll Native Bridge](https://scroll.io/bridge) + - [Scroll Rollup Scanner](https://scroll.io/rollupscan) + - [Scroll RPC Providers on ChainList.org](https://chainlist.org/chain/534352) + - [Ethereum RPC Providers on ChainList.org](https://chainlist.org/chain/1) + {/* - Additional Block Explorers: + - [Dora](https://www.ondora.xyz/network/scroll/interactions) + - [L2Scan](https://scroll.l2scan.co/) */} + +
-## Scroll Sepolia Contracts +## Scroll Contracts ### Rollup -- L1 Rollup (Scroll Chain): `0x2D567EcE699Eabe5afCd141eDB7A4f2D0D6ce8a0` +- L1 Rollup (Scroll Chain): `0xa13BAF47339d63B743e7Da8741db5456DAc1E556` ### ETH and ERC20 Bridge +- L1 ERC20 Gateway Router: `0xF8B1378579659D8F7EE5f3C929c2f3E332E41Fd6` +- L2 ERC20 Gateway Router: `0x4C0926FF5252A435FD19e10ED15e5a249Ba19d79` + +### Advanced Bridge Contracts + +- Scroll Messenger + - L1 Messenger: `0x6774Bcbd5ceCeF1336b5300fb5186a12DDD8b367` + - L2 Messenger: `0x781e90f1c8Fc4611c9b7497C3B47F99Ef6969CbC` +- ETH Bridge + - L1 ETH Gateway: `0x7F2b8C31F88B6006c382775eea88297Ec1e3E905` + - L2 ETH Gateway: `0x6EA73e05AdC79974B931123675ea8F78FfdacDF0` + - L1 WETH Gateway: `0x7AC440cAe8EB6328de4fA621163a792c1EA9D4fE` + - L2 WETH Gateway: `0x7003E7B7186f0E6601203b99F7B8DECBfA391cf9` +- ERC20 Bridge + - L1 ERC20 Standard Gateway: `0xD8A791fE2bE73eb6E6cF1eb0cb3F36adC9B3F8f9` + - L2 ERC20 Standard Gateway: `0xE2b4795039517653c5Ae8C2A9BFdd783b48f447A` + - L1 ERC20 Custom Gateway: `0xb2b10a289A229415a124EFDeF310C10cb004B6ff` + - L2 ERC20 Custom Gateway: `0x64CCBE37c9A82D85A1F2E74649b7A42923067988` +- ERC721 Bridge + - L1 ERC721 Gateway: `0x6260aF48e8948617b8FA17F4e5CEa2d21D21554B` + - L2 ERC721 Gateway: `0x7bC08E1c04fb41d75F1410363F0c5746Eae80582` +- ERC1155 Bridge + - L1 ERC1155 Gateway: `0xb94f7F6ABcb811c5Ac709dE14E37590fcCd975B6` + - L2 ERC1155 Gateway: `0x62597Cc19703aF10B58feF87B0d5D29eFE263bcc` +- Gas Oracle + - L2 Gas Oracle (deployed on Mainnet): `0x987e300fDfb06093859358522a79098848C33852` + +### L2 Predeploys + +- Message Queue: `0x5300000000000000000000000000000000000000` +- Gas Price Oracle: `0x5300000000000000000000000000000000000002` +- Whitelist: `0x5300000000000000000000000000000000000003` +- WETH L2: `0x5300000000000000000000000000000000000004` +- Transaction Fee Vault: `0x5300000000000000000000000000000000000005` + +## Protocols on Scroll Mainnet + +### Uniswap v3 + +- Main Contracts + - Core Factory: `0x70C62C8b8e801124A4Aa81ce07b637A3e83cb919` + - NFT Position Manager: `0xB39002E4033b162fAc607fc3471E205FA2aE5967` + - Router: `0xfc30937f5cDe93Df8d48aCAF7e6f5D8D8A31F636` +- Additional Contracts + - multicall2Address: `0xC1D2e074C38FdD5CA965000668420C80316F0915` + - proxyAdminAddress: `0x1E6dcAb806A42055098f23E2B3ac72D6E195F967` + - tickLensAddress: `0x85780e12e90D2a684eB8E7404c985b5B5c8ce7E9` + - nftDescriptorLibraryAddressV1_3_0: `0xAeE9c206ba89F3DA25EEe4636208519e0B86965B` + - nonfungibleTokenPositionDescriptorAddressV1_3_0: `0xACcf12204b7591B2ECCEFe737440B0f53748B191` + - descriptorProxyAddress: `0x675DD953225D296A44790dC1390a1E7eF378f464` + - v3MigratorAddress: `0xF00577B5Dd0DA227298E954Ed11356F264Cf93d4` + - v3StakerAddress: `0xFdFbE973c9ecB036Ecfb7af697FcACe789D3f928` + - quoterV2Address: `0x2566e082Cb1656d22BCbe5644F5b997D194b5299` + +## Additional Useful Contracts + +- Multicall3: `0xcA11bde05977b3631167028862bE2a173976CA11` + +## Tokens + + + +{" "} + +
+ +--- + +## Scroll Sepolia Testnet + +### Network Info + +Use the table below to configure your Ethereum tools to the Scroll Sepolia Testnet. + +| Network Name | Scroll Sepolia | Ethereum Sepolia | +| ------------------ | ----------------------------------------------------------------- | ------------------------------------------------------------ | +| RPC URL | [https://sepolia-rpc.scroll.io/](https://sepolia-rpc.scroll.io/) | [https://rpc2.sepolia.org](https://rpc2.sepolia.org) | +| Chain ID | 534351 | 11155111 | +| Currency Symbol | ETH | ETH | +| Block Explorer URL | [https://sepolia.scrollscan.com](https://sepolia.scrollscan.com/) | [https://sepolia.etherscan.io](https://sepolia.etherscan.io) | + + +
Additional Scroll Sepolia RPCs and Infra
+ - [Scroll Sepolia Native Bridge](https://sepolia.scroll.io/bridge) + - [Scroll Sepolia Rollup Scanner](https://sepolia.scroll.io/rollupscan) + - [Scroll Sepolia RPC Providers on ChainList.org](https://chainlist.org/chain/534351) + - [Ethereum Sepolia RPC Providers on ChainList.org](https://chainlist.org/chain/11155111) + - Additional Block Explorers: + - [Dora](https://www.ondora.xyz/network/scroll-sepolia/interactions) + - [L2Scan](https://scroll.l2scan.co/) + +
+ +### Scroll Sepolia Contracts + +#### Rollup + +- L1 Rollup (Scroll Chain): `0x2D567EcE699Eabe5afCd141eDB7A4f2D0D6ce8a0` + +#### ETH and ERC20 Bridge + - L1 ERC20 Gateway Router: `0x13FBE0D0e5552b8c9c4AE9e2435F38f37355998a` - L2 ERC20 Gateway Router: `0x9aD3c5617eCAa556d6E166787A97081907171230` -### Advanced Bridge Contracts +#### Advanced Bridge Contracts - Scroll Messenger - L1 Messenger: `0x50c7d3e7f7c656493D1D76aaa1a836CedfCBB16A` @@ -54,7 +175,7 @@ import Aside from "../../../../components/Aside.astro" - Gas Oracle - L2 Gas Oracle (deployed on Sepolia): `0x247969F4fad93a33d4826046bc3eAE0D36BdE548` -### L2 Predeploys +#### L2 Predeploys - Message Queue: `0x5300000000000000000000000000000000000000` - Gas Price Oracle: `0x5300000000000000000000000000000000000002` @@ -62,9 +183,9 @@ import Aside from "../../../../components/Aside.astro" - WETH L2: `0x5300000000000000000000000000000000000004` - Transaction Fee Vault: `0x5300000000000000000000000000000000000005` -## Protocols on Sepolia +### Protocols -### Uniswap v3 +#### Uniswap v3 - Frontend website: [https://uniswap-showcase.sepolia.scroll.xyz/](https://uniswap-showcase.sepolia.scroll.xyz/) - Main Contracts @@ -82,19 +203,19 @@ import Aside from "../../../../components/Aside.astro" - v3StakerAddress: `0xe7b82794Cab21e665a3e6f8ea562d392AA6E0619` - quoterV2Address: `0xd5dd33650Ef1DC6D23069aEDC8EAE87b0D3619B2` -### Aave +#### Aave See this [Github gist](https://gist.github.com/dghelm/7fe68f0a524f30846e1142721c081d84). -## Additional Useful Contracts +### Additional Useful Contracts - Multicall3: `0xcA11bde05977b3631167028862bE2a173976CA11` -## Tokens +### Tokens - Gho Token: `0xD9692f1748aFEe00FACE2da35242417dd05a8615` diff --git a/src/content/docs/en/developers/transaction-fees-on-scroll.mdx b/src/content/docs/en/developers/transaction-fees-on-scroll.mdx index f9c4a48ea..8ce7c2f70 100644 --- a/src/content/docs/en/developers/transaction-fees-on-scroll.mdx +++ b/src/content/docs/en/developers/transaction-fees-on-scroll.mdx @@ -12,11 +12,11 @@ import Aside from "../../../../components/Aside.astro" ## Overview -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. +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. 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. -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: +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: - **L2 fee** - 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 ### Estimating the L1 Data Fee -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. +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. ```solidity function getL1Fee(bytes memory _data) external view override returns (uint256); diff --git a/src/content/docs/en/developers/verifying-smart-contracts.mdx b/src/content/docs/en/developers/verifying-smart-contracts.mdx index aa609eabe..ab294786e 100644 --- a/src/content/docs/en/developers/verifying-smart-contracts.mdx +++ b/src/content/docs/en/developers/verifying-smart-contracts.mdx @@ -13,12 +13,13 @@ import ClickToZoom from "../../../../components/ClickToZoom.astro" import verify1 from "./_images/verify1.png" import CodeSample from "../../../../components/CodeSample/CodeSample.astro" -After deploying your smart contracts, it's important to verify your code on [our block explorer](https://sepolia-blockscout.scroll.io/). This can be done in an automated way using your developer tooling or using Blockscout's Web UI. +After deploying your smart contracts, it's important to verify your code on [our block explorer](https://scrollscan.com/) or the [Sepolia block explorer](https://sepolia-blockscout.scroll.io). -