Skip to content

Commit 025f252

Browse files
ericbrown99claude
andauthored
docs: restructure base-chain IA and recover consolidated content (#1666)
* docs: restructure base-chain IA and recover consolidated content Reorganize the Base Chain docs information architecture and audit the restructure for content loss against the previously published pages. Navigation: - Replace "Quickstart" with a single "Introduction" (overview) entry - Add "Core Concepts" (transaction ordering, finality, throughput and limits, network fees, bridging and withdrawals) - Add "Network Reference" (connecting, node providers, contracts, bridges, faucets, Flashblocks Reference, troubleshooting, changelog) - Move deploy-on-base into the Apps quickstart - Add redirects for every removed/moved path Content consolidation and recovery: - Restore the Configuration Changelog (full Mainnet + Sepolia history), re-add it to nav, and restore the network-fees cross-link - Rename the Flashblocks FAQ to "Flashblocks Reference" and add key concepts, architecture (sequencer + Flashblocks components), and further reading (deep dive + Flashbots credit) - Add a focused Flashblocks section to the build-an-app guide - Add Flashblock performance metrics to throughput-and-limits Accuracy: - Update block capacity to current values: full block ~400M gas (was 140M) and first Flashblock ~40M (was 14M) - Reframe Flashblock-1 gas guidance: the per-transaction gas maximum (~16.7M) is below Flashblock 1's ~40M capacity, so any valid transaction fits in the first Flashblock Regenerate llms.txt and llms-full.txt. Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com> * Update snapshot links, flashblock api method order, and removed upcoming section --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent fed8710 commit 025f252

31 files changed

Lines changed: 501 additions & 688 deletions

docs/AGENTS.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description: Look up Base documentation with a compact directory-grouped index b
1111
- [Agents](./agents/llms.txt) — Give your AI assistant a wallet. Base MCP connects any AI to your Base Account. Check balances, send funds, swap tokens, sign messages, and pay with x402.
1212
- [Apps](./apps/llms.txt) — A step-by-step guide to building a Next.js tally app on Base using wagmi and viem, with wallet connection, contract reads and writes, and batch transaction support.
1313
- [Base Account](./base-account/llms.txt)
14-
- [Base Chain](./base-chain/llms.txt)Bridge tokens and messages between Base and Solana Mainnet
14+
- [Base Chain](./base-chain/llms.txt)Start here for Base Chain docs, including concepts, network reference, node operation, APIs, and protocol specifications.
1515
- [Get Started](./get-started/llms.txt)
1616
- [Ledgers](./ledgers/llms.txt) — An introduction to Base Ledgers, the enterprise way to run confidential payments that settle on Base.
1717
- [Static](./static/llms.txt)
@@ -50,7 +50,7 @@ npx skills add base/base-skills
5050
|apps/builder-codes:agent-developers,app-developers,builder-codes,wallet-developers
5151
|apps/growth:rewards
5252
|apps/guides:accept-b20-payments,migrate-to-standard-web-app
53-
|apps/quickstart:build-app
53+
|apps/quickstart:build-app,deploy-on-base
5454
|apps/resources:design-resources,templates
5555
|apps/technical-guides:base-notifications
5656
|base-account/basenames:basename-transfer,basenames-faq
@@ -74,14 +74,15 @@ npx skills add base/base-skills
7474
|base-account/reference/prolink-utilities:createProlinkUrl,decodeProlink,encodeProlink
7575
|base-account/reference/spend-permission-utilities:fetchPermission,fetchPermissions,getPermissionStatus,prepareRevokeCallData,prepareSpendCallData,requestRevoke,requestSpendPermission
7676
|base-account/reference/ui-elements:base-pay-button,brand-guidelines,sign-in-with-base-button
77+
|base-chain:overview
7778
|base-chain/api-reference:rpc-overview
7879
|base-chain/api-reference/debug-api:debug_traceBlockByHash,debug_traceBlockByNumber,debug_traceTransaction
7980
|base-chain/api-reference/ethereum-json-rpc-api:eth_blockNumber,eth_call,eth_chainId,eth_estimateGas,eth_feeHistory,eth_gasPrice,eth_getBalance,eth_getBlockByHash,eth_getBlockByNumber,eth_getBlockReceipts,eth_getBlockTransactionCountByHash,eth_getBlockTransactionCountByNumber,eth_getCode,eth_getLogs,eth_getStorageAt,eth_getTransactionByBlockHashAndIndex,eth_getTransactionByBlockNumberAndIndex,eth_getTransactionByHash,eth_getTransactionCount,eth_getTransactionReceipt,eth_maxPriorityFeePerGas,eth_sendRawTransaction,eth_subscribe,eth_syncing,eth_unsubscribe,net_version,web3_clientVersion
8081
|base-chain/api-reference/flashblocks-api:base_transactionStatus,eth_simulateV1,flashblocks-api-overview,newFlashblockTransactions,newFlashblocks,pendingLogs
81-
|base-chain/flashblocks:app-integration,architecture,faq,overview
82-
|base-chain/network-information:base-contracts,block-building,bridges,configuration-changelog,diffs-ethereum-base,network-faucets,network-fees,transaction-finality,troubleshooting-transactions
82+
|base-chain/flashblocks:faq
83+
|base-chain/network-information:base-contracts,base-solana-bridge,bridging-and-withdrawals,ecosystem-bridges,network-faucets,network-fees,throughput-and-limits,transaction-finality,transaction-ordering,troubleshooting-transactions
8384
|base-chain/node-operators:node-providers,performance-tuning,run-a-base-node,snapshots,troubleshooting
84-
|base-chain/quickstart:base-solana-bridge,connecting-to-base,deploy-on-base,why-base
85+
|base-chain/quickstart:connecting-to-base
8586
|base-chain/security:avoid-malicious-flags,bug-bounty,report-vulnerability,security-council
8687
|base-chain/specs:overview
8788
|base-chain/specs/protocol:batcher,overview

docs/apps/quickstart/build-app.mdx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,29 @@ Base is a fast, low-cost Ethereum L2 built to bring the next billion users oncha
537537
</Step>
538538
</Steps>
539539

540+
## Speed up confirmations with Flashblocks
541+
542+
Base builds [Flashblocks](/base-chain/network-information/transaction-ordering#flashblocks) — 200ms incremental blocks that let your app reflect transaction confirmations roughly 10x faster than the standard 2-second block time. Flashblocks are always live; you opt in by pointing Wagmi at a Flashblocks-aware chain, with no other code changes. `useWaitForTransactionReceipt` then resolves against pre-confirmed state.
543+
544+
Swap the standard chain for its `Preconf` variant in `config/wagmi.ts`:
545+
546+
```typescript config/wagmi.ts highlight={2,5,8}
547+
import { http, createConfig } from 'wagmi'
548+
import { baseSepoliaPreconf } from 'wagmi/chains'
549+
550+
export const config = createConfig({
551+
chains: [baseSepoliaPreconf],
552+
// ...connectors and storage unchanged
553+
transports: {
554+
[baseSepoliaPreconf.id]: http(),
555+
},
556+
})
557+
```
558+
559+
<Note>
560+
For production, the public endpoints are rate-limited — connect through a Flashblocks-enabled [node provider](/base-chain/node-operators/node-providers). For the underlying RPC behavior (the `pending` block tag and supported methods), see the [RPC Overview](/base-chain/api-reference/rpc-overview#flashblocks) and the [Flashblocks Reference](/base-chain/flashblocks/faq).
561+
</Note>
562+
540563
## Next steps
541564

542565
- **Go to mainnet** — add `base` to your `chains` array and transports in `config/wagmi.ts`, redeploy your contract to Base mainnet, and update `COUNTER_ADDRESS`.

docs/base-chain/quickstart/deploy-on-base.mdx renamed to docs/apps/quickstart/deploy-on-base.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: 'Deploy on Base'
3+
description: Deploy a smart contract to Base Sepolia with Foundry.
34
---
45

56
Welcome to the Base deployment quickstart guide! This comprehensive walkthrough will help you set up your environment and deploy smart contracts on Base. Whether you're a seasoned developer or just starting out, this guide has got you covered.
@@ -122,7 +123,7 @@ Note the format of the contract being deployed is `<contract-path>:<contract-nam
122123

123124
3. After successful deployment, you'll see output including:
124125

125-
```
126+
```text
126127
Deployer: 0x...
127128
Deployed to: 0x... <-- YOUR CONTRACT ADDRESS
128129
Transaction hash: 0x...

docs/base-chain/api-reference/ethereum-json-rpc-api/eth_call.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Executes a message call immediately without broadcasting a transaction to the ne
1111
</Tip>
1212

1313
<Note>
14-
**`eth_call "pending"` block context on Flashblocks nodes:** Block-context properties (`block.number`, `block.timestamp`, `block.basefee`) may reflect a block several behind tip due to how nodes cache historical Flashblocks. See the [FAQ](/base-chain/flashblocks/faq#why-does-eth_call-pending-report-a-block-context-several-blocks-behind-tip) for details.
14+
**`eth_call "pending"` block context on Flashblocks nodes:** Block-context properties (`block.number`, `block.timestamp`, `block.basefee`) may reflect a block several behind tip due to how nodes cache historical Flashblocks. See the [FAQ](/base-chain/flashblocks/faq#why-does-eth_call-pending-report-a-block-number-several-blocks-behind-tip) for details.
1515
</Note>
1616

1717
## Parameters

docs/base-chain/api-reference/flashblocks-api/flashblocks-api-overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Unique identifier for the block being built. Remains consistent across all Flash
5050
</ParamField>
5151

5252
<ParamField path="index" type="number">
53-
Flashblock index within the current block. Starts at 0 (system transactions only). User transactions begin at index 1. Typically reaches 9–10 per block, but [may exceed 10](/base-chain/flashblocks/faq#why-can-the-flashblock-index-exceed-10) during sequencer timing drift.
53+
Flashblock index within the current block. Starts at 0 (system transactions only). User transactions begin at index 1. Typically reaches 9–10 per block, but [may exceed 10](/base-chain/flashblocks/faq#can-the-flashblock-index-exceed-10-is-that-a-bug) during sequencer timing drift.
5454
</ParamField>
5555

5656
<ParamField path="base" type="Base Object">

docs/base-chain/flashblocks/app-integration.mdx

Lines changed: 0 additions & 203 deletions
This file was deleted.

docs/base-chain/flashblocks/architecture.mdx

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)