MCPcopy Index your code
hub / github.com/base/base

github.com/base/base @v1.1.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.1.1 ↗ · + Follow
16,476 symbols 57,368 edges 1,585 files 5,260 documented · 32%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Base

Base

Base is a rollup built on Ethereum.

Why Base

  • Cheap, fast, and open platform: Base is a globally available platform that provides 1-second and <1-cent transactions to anyone in the world.
  • Reach more users: Base is committed to helping developers grow their user base by distributing their apps through official Base channels.
  • A place to earn: Base has delivered grants to more than 1,000 builders, with plans to continue supporting more.
  • Access to high-quality tooling: Builders have access to tools to build incredible onchain experiences for AI, social, media, and entertainment.

Learn More

Install Binaries

Use baseup to install the GitHub release binaries for this repository:

curl -fsSL https://raw.githubusercontent.com/base/base/main/baseup/install | bash

Base Anvil Package

Every push to main publishes patched anvil and forge binaries to GHCR as ghcr.io/base/base-anvil. Use immutable sha-<commit> tags for pinned downstream tests, or main for the latest successful main build.

License

Licensed under MIT.

Extension points exported contracts — how you extend this code

Payload (Interface)
A transaction payload generator. [9 implementers]
crates/infra/load-tests/src/workload/payloads/mod.rs
FlushableCache (Interface)
A cache that can be flushed to discard cached data. [6 implementers]
crates/proof/preimage/src/traits.rs
TxManager (Interface)
Lean public API for transaction management. Callers only need [`send`](TxManager::send), [`send_async`](TxManager::send [14 …
crates/utilities/tx-manager/src/traits.rs
PrecompileCallObserver (Interface)
Observer for native precompile call execution. [6 implementers]
crates/common/precompiles/src/observer.rs
CancellableContext (Interface)
The communication context used by the actor. [7 implementers]
crates/consensus/service/src/actors/traits.rs
CompressorWriter (Interface)
Compressor Writer A trait that expands the standard library `Write` trait to include compression-specific methods and r [6 …
crates/batcher/comp/src/traits.rs
BaseNodeExtension (Interface)
Customizes the node builder before launch. Register extensions via [`BaseNodeRunner::install_ext`]. [10 implementers]
crates/execution/runner/src/extension.rs
PublisherMetrics (Interface)
Trait for observing WebSocket publisher events. Implementors receive callbacks for key lifecycle events so that metrics [4 …
crates/builder/publish/src/metrics.rs

Core symbols most depended-on inside this repo

clone
called by 1315
crates/execution/evm/src/build.rs
iter
called by 589
crates/execution/metering/src/estimator.rs
clone
called by 510
crates/proof/host/src/recording.rs
as_ref
called by 457
crates/proof/challenge/src/config.rs
to_vec
called by 441
crates/execution/txpool-tracing/src/events.rs
clone
called by 347
crates/consensus/service/src/actors/l1_watcher/query_processor.rs
bind
called by 320
crates/infra/ingress-rpc/src/health.rs
increment
called by 283
crates/utilities/metrics/src/noop.rs

Shape

Method 7,846
Function 6,185
Class 1,726
Enum 448
Interface 271

Languages

Rust100%
Python1%

Modules by API surface

crates/proof/tee/registrar/src/driver.rs193 symbols
crates/common/precompiles/src/policy/storage.rs109 symbols
crates/execution/trie/src/db/store.rs108 symbols
crates/execution/flashblocks/src/pending_blocks.rs100 symbols
crates/proof/challenge/src/test_utils.rs95 symbols
crates/proof/challenge/src/bond.rs91 symbols
crates/proof/proposer/src/pipeline.rs87 symbols
crates/infra/basectl/src/app/views/upgrades.rs82 symbols
crates/consensus/rpc/src/jsonrpsee.rs79 symbols
actions/harness/src/l1/miner.rs79 symbols
crates/batcher/encoder/src/encoder.rs78 symbols
crates/execution/metering/src/estimator.rs77 symbols

Datastores touched

dbDatabase · 1 repos
proverDatabase · 1 repos

For agents

$ claude mcp add base \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact