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

New information architecture #853

Open
wants to merge 22 commits into
base: main
Choose a base branch
from
Open
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
18 changes: 9 additions & 9 deletions docs/developers/guides/linea-api.mdx → docs/api/index.mdx
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
---
title: Use the Linea API
description: How to make calls to the Linea blockchain using the Linea JSON-RPC APIs
sidebar_position: 6
image: /img/socialCards/use-the-linea-api.jpg
---

import DocCardList from "@theme/DocCardList";
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

Linea supports the standard Ethereum JSON-RPC API methods, meaning the developer experience is
identical to building on Ethereum itself. However, some
[Linea-specific methods, and method implementations](../reference/api/index.mdx) differ to Ethereum.
identical to building on Ethereum itself. However, some methods differ to Ethereum — find them in

Check failure on line 12 in docs/api/index.mdx

View workflow job for this annotation

GitHub Actions / Spelling

[vale] reported by reviewdog 🐶 [Microsoft.Dashes] Remove the spaces around ' — '. Raw Output: {"message": "[Microsoft.Dashes] Remove the spaces around ' — '.", "location": {"path": "docs/api/index.mdx", "range": {"start": {"line": 12, "column": 83}}}, "severity": "ERROR"}
the [reference section](./reference/eth-sendrawtransaction.mdx).

:::info
View the full list of Linea methods in the
Expand All @@ -20,13 +20,13 @@
You must connect to an RPC endpoint when making calls to the Linea blockchain. Use one or more of the
following options:

- **Run your own node**: Either [run your own node by setting it up yourself](./run-a-node/index.mdx), or
[use a node provider](../tooling/node-providers/index.mdx#run-your-own-node).
We recommend running [Linea Besu](./run-a-node/linea-besu.mdx) if you want to run a node yourself and interact with the
- **Run your own node**: Either [run your own node by setting it up yourself](../get-started/how-to/run-a-node/index.mdx), or
[use a node provider](../get-started/tooling/node-providers/index.mdx).
We recommend running [Linea Besu](../get-started/how-to/run-a-node/linea-besu.mdx) if you want to run a node yourself and interact with the
blockchain.
- **Connect to a private RPC endpoint**: [Connect to a blockchain infrastructure provider](../tooling/node-providers/index.mdx#private-rpc-endpoints)
- **Connect to a private RPC endpoint**: [Connect to a blockchain infrastructure provider](../get-started/tooling/node-providers/index.mdx#private-rpc-endpoints)
such as Infura or Alchemy. Multiple providers offer free tier access.
- **Use a public endpoint**: [Public endpoints](../tooling/node-providers/index.mdx#public-rpc-endpoints) are
- **Use a public endpoint**: [Public endpoints](../get-started/tooling/node-providers/index.mdx#public-rpc-endpoints) are
free to use but are rate limited and not suitable for production environments.

## Make calls
Expand All @@ -37,7 +37,7 @@
In the examples, replace `<YOUR-API-KEY>` with your actual Infura API key.

:::info
View the [list of node providers](../tooling/node-providers/index.mdx) if you require an endpoint.
View the [list of node providers](../get-started/tooling/node-providers/index.mdx) if you require an endpoint.
:::


Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ On Linea, each transaction is represented by a sequence of lines representing th
happening at the EVM level. These lines are grouped by modules and are used as inputs to the prover.
In order to limit the resources required to generate proofs, limits are enforced on the maximum
number of lines each module can have. Hence, when a transaction is considered for inclusion in a
block, a [line count check is performed to ensure it conforms to the requirements](../../../architecture/stack/trace-expansion-proving/prover-limits.mdx).
block, a [line count check is performed to ensure it conforms to the requirements](../../get-started/concepts/prover/prover-limits.mdx).

## Parameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Generates and returns an estimate of how much gas is necessary to allow the tran
and be published on Ethereum. The transaction will not be added to the blockchain.

For more information about estimating gas, and how this API formulates the transaction costs, see
the [Estimate transaction costs](../../guides/gas-fees.mdx) topic.
the [Estimate transaction costs](../../get-started/how-to/gas-fees.mdx) topic.

The `priorityFeePerGas` returned by this method includes the cost of submitting the transaction to
Ethereum, which can vary based on the size of the calldata.
Expand Down
8 changes: 0 additions & 8 deletions docs/architecture/overview/index.mdx

This file was deleted.

12 changes: 0 additions & 12 deletions docs/architecture/stack/bridges/index.mdx

This file was deleted.

67 changes: 0 additions & 67 deletions docs/architecture/stack/canonical-msg-service/index.mdx

This file was deleted.

14 changes: 0 additions & 14 deletions docs/developers/guides/community/index.mdx

This file was deleted.

23 changes: 0 additions & 23 deletions docs/developers/quickstart/index.mdx

This file was deleted.

Loading
Loading