Skip to content

Commit

Permalink
Merge branch 'main' into quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
jlwllmr committed Dec 6, 2024
2 parents 8ee9211 + 515f0bc commit ded1763
Show file tree
Hide file tree
Showing 9 changed files with 66 additions and 46 deletions.
33 changes: 3 additions & 30 deletions docs/get-started/build/network-info.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import TabItem from "@theme/TabItem";
<TabItem value="Linea Sepolia" label="Linea Sepolia">
<table>
<tr>
<td align="left"><b>Network Name</b></td>
<td align="left"><b>Network</b></td>
<td align="left">Linea</td>
</tr>
<tr>
Expand All @@ -50,11 +50,11 @@ import TabItem from "@theme/TabItem";
<td align="left">59141</td>
</tr>
<tr>
<td align="left"><b>Currency Symbol</b></td>
<td align="left"><b>Symbol</b></td>
<td align="left">ETH</td>
</tr>
<tr>
<td align="left"><b>Block Explorer URL</b></td>
<td align="left"><b>Block explorer</b></td>
<td align="left"> <a href="https://sepolia.lineascan.build">Lineascan</a> </td>
</tr>
</table>
Expand All @@ -67,30 +67,3 @@ If your dapp is using public endpoints, it may encounter rate limiting. You can
[here](../tooling/node-providers/index.mdx).

We recommend connecting to Linea via [private RPCs](../tooling/node-providers/index.mdx#private-rpc-endpoints).

## Faucets

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

### Other faucets

You can use one of the following Linea Sepolia faucets to drip testnet ETH directly to your
Linea Sepolia address:

- [Covalent](https://www.covalenthq.com/faucet/)
- [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))

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

### Get testnet ERC-20 tokens

Testnet ERC-20 tokens may be useful for development purposes.

One method is to use the [OKX faucet](https://www.okx.com/xlayer/faucet/sepoliafaucet), which
enables you to select from a handful of different testnet ERC-20 tokens.
2 changes: 1 addition & 1 deletion docs/get-started/how-to/deploy-subdomain.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ file:
Copy this address — you'll need it in the next step.

The contracts to manage your subdomains on Linea have now been deployed. The next step is to link
these subdomains to your L1 domain on L1 for [CCIP resolution](../tooling/cross-chain/ccip-read-gateway.mdx) to work.
these subdomains to your L1 domain on L1 for [CCIP resolution](../tooling/cross-chain/ccip-read.mdx) to work.

### 2. Set the Linea target resolution

Expand Down
28 changes: 28 additions & 0 deletions docs/get-started/how-to/get-testnet-eth.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: Get Linea testnet ETH
description: Learn how to get testnet ETH for Linea Sepolia.
---

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.

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

## Other faucets

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

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

## Get testnet ERC-20 tokens

Testnet ERC-20 tokens may be useful for development purposes.

One method is to use the [OKX faucet](https://www.okx.com/xlayer/faucet/sepoliafaucet), which
enables you to select from a handful of different testnet ERC-20 tokens.
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@ image: /img/socialCards/ccip-read.jpg

import LineaCCIPGraphic from "/img/get_started/tooling/cross_chain/ccip_read_gateway/Linea_ENS_CCIP_read.svg"

[CCIP Read](https://eips.ethereum.org/EIPS/eip-3668), also referred to by its
full name [Cross-chain Interoperability Protocol](https://chain.link/cross-chain),
is a protocol developed by Chainlink to enable applications to access
cross-chain (i.e. on an L2) or offchain data through a gateway server.
[CCIP Read](https://eips.ethereum.org/EIPS/eip-3668) is a protocol developed by ENS that introduces
functionality for cross-chain data retrieval through a gateway server. It extends the [Cross Chain
Interoperability Protocol (CCIP)](https://chain.link/cross-chain) developed by Chainlink, who funded
its development through a [Chainlink Community Grant](https://blog.chain.link/ens-grant-for-ccip-read-development/).

Ethereum Name Service (ENS) implements CCIP Read so that it can resolve domains
on Ethereum even if the relevant data and records are stored on an L2 chain — an
offchain resolver framework. The process is trust-minimal, as the gateway
returns a storage proof that can be verified on L1, and which is immune from any
intervention or tampering.
Ethereum Name Service (ENS) implements CCIP Read so that it can resolve domains on Ethereum even if
the relevant data and records are stored on an L2 chain—an offchain resolver framework. The
process is trust-minimal, as the gateway returns a storage proof that can be verified on L1, and
which is immune from any intervention or tampering.

Linea adapted the functionality of the relevant ENS contract, [`evm-gateway`](https://github.com/ensdomains/evmgateway),
so that it would function correctly with Linea's sparse Merkle tree design. The
Expand All @@ -27,7 +26,17 @@ Read more about sparse Merkle trees in our [architecture documentation](../../co

:::

### Linea ENS
## CCIP

The Chainlink CCIP is middleware designed to enable traditional backends to securely interact with
blockchains, preventing the need for organizations to devote resources to developing case-by-case
solutions to this problem. This enables applications to transfer assets and data between chains,
allowing developers to access different chains for their relative strengths, and also access a
larger audience.

Read more about CCIP in the [Chainlink documentation](https://docs.chain.link/ccip).

## Linea ENS

Linea ENS allows Linea users to register human-readable domains for considerably
lower fees than on Ethereum Mainnet, it also leverages smart contracts with
Expand Down
2 changes: 1 addition & 1 deletion docs/release-notes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ contracts created by ENS have been adjusted by the Linea team to ensure they wor
Sparse Merkle Tree system.

The CCIP Read functionality can be applied to any context where a L1 protocol may benefit from
securely querying data on Linea. See our [page on CCIP Read](../docs/get-started/tooling/cross-chain/ccip-read-gateway.mdx)
securely querying data on Linea. See our [page on CCIP Read](../docs/get-started/tooling/cross-chain/ccip-read.mdx)
for more information and guidance on how to use the relevant contracts.

The Linea repository containing the relevant contracts is [here](https://github.com/Consensys/linea-ens).
Expand Down
6 changes: 6 additions & 0 deletions mlc_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
},
{
"pattern": "https://rpc.sepolia.linea.build"
},
{
"pattern": "https://bridge.linea.build/"
},
{
"pattern": "https://goerli.etherscan.io/"
}
]
}
Expand Down
7 changes: 5 additions & 2 deletions redirects.json
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,11 @@
"from": "/developers/tooling/oracles/dia"
},
{
"to": "/get-started/tooling/cross-chain/ccip-read-gateway",
"from": "/developers/tooling/cross-chain/ccip-read-gateway"
"to": "/get-started/tooling/cross-chain/ccip-read",
"from": [
"/developers/tooling/cross-chain/ccip-read-gateway",
"/get-started/tooling/cross-chain/ccip-read-gateway"
]
},
{
"to": "/get-started/tooling/cross-chain",
Expand Down
3 changes: 2 additions & 1 deletion sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const sidebars = {
link: null,
collapsible: false,
items: [
"get-started/how-to/get-testnet-eth",
{
type: "category",
label: "Deploy a smart contract",
Expand Down Expand Up @@ -229,7 +230,7 @@ const sidebars = {
},
items: [
"get-started/tooling/cross-chain/axelar",
"get-started/tooling/cross-chain/ccip-read-gateway",
"get-started/tooling/cross-chain/ccip-read",
"get-started/tooling/cross-chain/layerzero",
"get-started/tooling/cross-chain/shortcuts",
],
Expand Down
2 changes: 1 addition & 1 deletion src/components/HomepageCards/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const CardList: CardItem[] = [
},
{
title: "Get Linea Testnet ETH",
link: "/get-started/build/network-info#faucets",
link: "/get-started/how-to/get-testnet-eth",
description: (
<>
Learn how to get Linea Testnet ETH so you can deploy on Linea Sepolia.
Expand Down

0 comments on commit ded1763

Please sign in to comment.