Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
jlwllmr authored Dec 12, 2024
2 parents c2727fe + ebf4a42 commit 69d0b75
Show file tree
Hide file tree
Showing 8 changed files with 857 additions and 14 deletions.
18 changes: 13 additions & 5 deletions docs/get-started/concepts/architecture.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,21 @@ Linea aims to be a fully decentralized, permissionless network. To support this
Linea is in mainnet status, and the team is fervently working towards full decentralization.
The following is a good representation of the main components of Linea, and how they interact:

<div class="center-container">
<div class="img-large">
<div className="responsive-graphic">
<picture>
<source
srcSet="/img/get_started/concepts/architecture/Linea_architecture_mobile.svg"
media="(max-width: 1499px)"
/>
<source
srcSet="/img/get_started/concepts/architecture/Linea_architecture_desktop.svg"
media="(min-width: 1500px)"
/>
<img
src="/img/get_started/concepts/architecture/Linea_architecture_map.png"
alt="Linea architecture"
src="/img/get_started/concepts/architecture/Linea_architecture_desktop.svg"
alt="Linea architecture diagram"
/>
</div>
</picture>
</div>

## First of all: what _is_ Linea, anyway? What's a zkEVM L2?
Expand Down
11 changes: 8 additions & 3 deletions docs/get-started/how-to/get-testnet-eth.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ image: /img/socialCards/get-linea-testnet-eth.jpg
To get started with building on Linea you'll need some Linea Sepolia ETH. The most efficient method
is to use one the many available faucets to drip testnet ETH directly to your chosen account.

## Linea Discord

Head to the [Linea Discord](https://discord.gg/linea) and request some Linea Sepolia ETH in the
`#developer-chat` channel.

## MetaMask faucet

We recommend you use the [MetaMask faucet](https://docs.metamask.io/developer-tools/faucet/). It
supports using Linea ENS names, and using one guarantees you'll receive the full 0.5 ETH daily
maximum.
The [MetaMask faucet](https://docs.metamask.io/developer-tools/faucet/) supports using Linea ENS
names, and using one guarantees you'll receive the full 0.5 ETH daily maximum.

:::tip

Expand All @@ -24,6 +28,7 @@ See our [support guide to getting a Linea ENS name](https://support.linea.build/
- [Infura](https://www.infura.io/faucet/linea)
- [GetBlock](https://getblock.io/faucet/linea-sepolia/)
- [HackQuest](https://www.hackquest.io/en/faucets/59141) (and check out their [Linea Learning Track](https://www.hackquest.io/en/learning-track/9be129e7-575b-49bd-a64e-1bbe32427ace))
- [ETHGlobal](https://ethglobal.com/packs) (Requires minting one of the available packs for free)

Alternatively, [use the Linea native bridge to bridge testnet ETH between Sepolia and Linea Sepolia](../how-to/bridge/how-to-bridge-eth.mdx).

Expand Down
8 changes: 5 additions & 3 deletions docs/get-started/how-to/run-a-node/nethermind.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ maintaining a local copy of the blockchain. However, if you want to interact wit
Linea-specific methods and features, you should [install Linea Besu](./linea-besu.mdx) instead.
:::

{/* Run using the binary distribution
## Run using the binary distribution

:::info
Ensure you review [Nethermind's installation Guidelines](https://docs.nethermind.io/get-started/installing-nethermind)
before installing the Nethermind client.

If you're not comfortable with installing the binary distribution, consider using [Docker](#run-using-docker) instead.
If you're not comfortable with installing the binary distribution, consider using [Docker](#run-using-docker)
instead.
:::

### Step 1. Install Nethermind
Expand Down Expand Up @@ -62,7 +63,8 @@ Start the node using the following command:
</TabItem>
</Tabs>

The Nethermind node will attempt to find peers to begin synchronizing and to download the world state. */}
The Nethermind node will attempt to find peers to begin synchronizing and to download the world
state.

## Run using Docker

Expand Down
3 changes: 0 additions & 3 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ const sidebars = {
type: "doc",
id: "get-started/how-to/deploy-smart-contract/index",
},
collapsible: false,
items: [
"get-started/how-to/deploy-smart-contract/atlas",
"get-started/how-to/deploy-smart-contract/foundry",
Expand All @@ -62,7 +61,6 @@ const sidebars = {
type: "doc",
id: "get-started/how-to/verify-smart-contract/index",
},
collapsible: false,
items: [
"get-started/how-to/verify-smart-contract/atlas",
"get-started/how-to/verify-smart-contract/foundry",
Expand Down Expand Up @@ -93,7 +91,6 @@ const sidebars = {
type: "doc",
id: "get-started/how-to/run-a-node/index",
},
collapsible: false,
items: [
"get-started/how-to/run-a-node/besu",
"get-started/how-to/run-a-node/erigon",
Expand Down
27 changes: 27 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -1452,3 +1452,30 @@ div[aria-label="Expand sidebar"] {
.theme-doc-markdown .markdown {
margin-right: 10px !important;
}

/* responsive classes for architecture diagram */
.responsive-graphic {
text-align: center;
}

@media (width <= 1499px) {
.responsive-graphic picture {
display: block;
padding-left: 5vw;
padding-right: 5vw;
}
}

@media (width <= 996px) {
.responsive-graphic picture {
padding-left: 15vw;
padding-right: 15vw;
}
}

@media (width <= 700px) {
.responsive-graphic picture {
padding-left: 6vw;
padding-right: 6vw;
}
}
Loading

0 comments on commit 69d0b75

Please sign in to comment.