Skip to content

Docs: add mainnet setup #416

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions src/config/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ export const getSidebar = () => {
gettingStarted: [
{
section: t("sidebar.gettingStarted.gettingStarted"),
contents: [{ title: t("sidebar.gettingStarted.overview"), url: "getting-started/overview" }],
},
{
section: t("sidebar.gettingStarted.scrollSepoliaTestnet"),
contents: [
{
title: t("sidebar.gettingStarted.overview"),
url: "getting-started/overview",
},
{
title: t("sidebar.gettingStarted.userGuide"),
url: formatUrl("user-guide/"),
Expand All @@ -38,6 +38,11 @@ export const getSidebar = () => {
},
],
},
],
},
{
section: t("sidebar.gettingStarted.scrollSepoliaTestnet"),
contents: [
{
title: t("sidebar.gettingStarted.scrollSepoliaBlockExplorer"),
url: "https://sepolia.scrollscan.com/",
Expand Down
64 changes: 49 additions & 15 deletions src/content/docs/en/user-guide/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,38 +5,72 @@ title: "Setup"
lang: "en"
permalink: "user-guide/setup/"
whatsnext: { "Grab Sepolia ETH from a Faucet": "/en/user-guide/faucet" }
excerpt: "You need to have a wallet to interact with the Scroll Testnet. You can find some example wallets and configuration tips here."
excerpt: "You need to have a wallet to interact with the Scroll network. You can find some example wallets and configuration tips here."
---

import Aside from "../../../../components/Aside.astro"
import ToggleElement from "../../../../components/ToggleElement.astro"

## Wallet

You need to have a wallet to interact with dApps on the Scroll Sepolia testnet. You can find some example wallets and configuration tips below. Our Bridge app supports MetaMask, Coinbase Wallet, or any wallet with WalletConnect support.
You need to have a wallet to interact with dApps on Scroll. You can find some example wallets and configuration tips below. Our Bridge app supports MetaMask, Coinbase Wallet, or any wallet with WalletConnect support.

### MetaMask

You can install MetaMask from their [official website](https://metamask.io/download/).

You can import the Scroll Sepolia testnet configurations to your MetaMask wallet. To do this, visit the [Scroll Sepolia portal](https://sepolia.scroll.io/portal), then click the "Connect Wallet" button and select MetaMask. Next, click the "Add to MetaMask" buttons for Sepolia Testnet and Scroll Sepolia Testnet. This will import the chain ID and RPC URLs for the Scroll Sepolia Testnet. The Sepolia Testnet is also configured on MetaMask by default. To show it, click "Show/hide test networks" in the MetaMask network selection dropdown menu.
You can import the Scroll mainnet and Scroll Sepolia testnet configurations to your MetaMask wallet by following the steps below.

### Manual network configuration (for other wallets)
To do this, visit the [Scroll Sepolia portal](https://sepolia.scroll.io/portal), then click the "Connect Wallet" button and select MetaMask. Next, click the "Add to MetaMask" buttons for Sepolia Testnet and Scroll Sepolia Testnet. This will import the chain ID and RPC URLs for the Scroll Sepolia Testnet. The Sepolia Testnet is also configured on MetaMask by default. To show it, click "Show/hide test networks" in the MetaMask network selection dropdown menu.

The **Add to wallet** links may not be compatible with every wallet. If you are having issues using them, you may need to manually add the _Sepolia Testnet_ and _Scroll Sepolia_ network by inserting the configuration details from the table below:
## Network Configuration

| 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.scrollscan.com](https://sepolia.scrollscan.com) | [https://sepolia.etherscan.io](https://sepolia.etherscan.io) |
### Scroll Mainnet

Visit the [Scroll portal](https://scroll.io/portal), then click the "Connect Wallet" button and select MetaMask. Next, click the "Add to MetaMask" button in "Layer2: Scroll" to directly import the network configurations. Finally, click "Approve" to add the network to your MetaMask wallet.

Alternatively, you can use the table below to manually configure Scroll mainnet in other wallets.

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

<ToggleElement anchor="mainnet-additional-infra">
<div slot="title">Additional Scroll Mainnet RPCs and Infra</div>
- [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)

</ToggleElement>

### Scroll Sepolia Testnet

Visit the [Scroll Sepolia portal](https://sepolia.scroll.io/portal), then click the "Connect Wallet" button and select MetaMask. Next, click the "Add to MetaMask" buttons for Scroll Sepolia Testnet. This will import the chain ID and RPC URLs for the Scroll Sepolia Testnet. The Ethereum Sepolia Testnet is also configured on MetaMask by default. To show it, click "Show/hide test networks" in the MetaMask network selection dropdown menu.

Alternatively, you can use the table below to manually configure Scroll Sepolia testnet in other wallets.

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

<ToggleElement anchor="sepolia-additional-infra">
<div slot="title">Additional Scroll Sepolia RPCs and Infra</div>
- [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)

</ToggleElement>

<Aside type="tip" title="Additional Block Explorers">
For looking into activity on Layer 1, use Etherscan's [Sepolia Testnet Explorer](https://sepolia.etherscan.io).

For an alternative block explorer experience, Unifra has built [L2Scan](https://scroll-sepolia.l2scan.co/), which lets users
explore additional aspects of the Scroll Sepolia Testnet.
[Dora](https://www.ondora.xyz/network/scroll-sepolia/interactions) also supports Scroll Sepolia and provides a
For an alternative block explorer experience, Unifra has built [Scroll L2Scan](https://scroll.l2scan.co/) and [Scroll Sepolia L2Scan](https://scroll-sepolia.l2scan.co/), which lets users explore additional aspects of the Scroll network.
[Dora](https://www.ondora.xyz/network/scroll) and [Dora (Scroll Sepolia)](https://www.ondora.xyz/network/scroll-sepolia/interactions) also supports Scroll network and provides a
multi-chain view of blockchain activity.

</Aside>