Skip to content
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

Update CCIP Read page #880

Merged
merged 7 commits into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from 5 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
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
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@

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

:::

### Linea ENS
## CCIP

The Chainlink CCIP is middleware designed to enable traditional backends to securely interact with
blockchains, preventing the need for organisations 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

Check warning on line 39 in docs/get-started/tooling/cross-chain/ccip-read.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Consensys.Headings] 'Linea ENS' should use sentence-style capitalization. Raw Output: {"message": "[Consensys.Headings] 'Linea ENS' should use sentence-style capitalization.", "location": {"path": "docs/get-started/tooling/cross-chain/ccip-read.mdx", "range": {"start": {"line": 39, "column": 4}}}, "severity": "WARNING"}
jlwllmr marked this conversation as resolved.
Show resolved Hide resolved

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
2 changes: 1 addition & 1 deletion sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,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
Loading