MCPcopy Create free account
hub / github.com/base/base

github.com/base/base

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.4.0 ↗ · + Follow · compare 6 versions
24,562 symbols 89,996 edges 1,867 files ⚖ MIT 7,322 documented · 30% updated 4d agov1.4.0 · 2026-09-16★ 8936 open issues

Browse by type

Functions 21,276 Types & classes 3,286
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

Run a Node

This repository now hosts the public Base node previously published from base/node. Root docker-compose.yml pulls ghcr.io/base/node. Pass --build to compile this tree. just devnet up is the local developer stack.

  1. Set BASE_NODE_L1_ETH_RPC and BASE_NODE_L1_BEACON in .env.mainnet or .env.sepolia.
  2. Start the node:
# Mainnet (default):
docker compose up --build

# Testnet:
NETWORK_ENV=.env.sepolia docker compose up --build

# Pin a published image (no compile):
NODE_TAG=v1.3.0 docker compose up

See the docs for hardware requirements, snapshots, Flashblocks, and historical proofs.

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

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 11,078
Function 10,198
Class 2,358
Enum 654
Interface 274

Languages

Rust100%
Python1%

Modules by API surface

crates/common/precompiles/src/b20_asset/logic/v2.rs203 symbols
crates/execution/txpool/src/validator.rs196 symbols
crates/execution/trie/src/db/rocksdb.rs154 symbols
crates/common/precompiles/tests/b20_asset_v2_golden.rs152 symbols
crates/common/precompiles/src/b20_asset/logic/v1.rs148 symbols
crates/execution/txpool/src/pool.rs147 symbols
crates/common/precompiles/src/b20_stablecoin/logic/v2.rs146 symbols
crates/common/precompiles/src/policy/logic/v2.rs134 symbols
crates/common/precompiles/src/b20_stablecoin/logic/v1.rs128 symbols
crates/infra/basectl/src/app/views/upgrades.rs125 symbols
crates/common/precompiles/tests/b20_asset_v1_golden.rs125 symbols
crates/execution/trie/src/db/store.rs111 symbols

Datastores touched

postgresDatabase · 1 repos
proverDatabase · 1 repos
dbDatabase · 1 repos
transaction_eventsDatabase · 1 repos

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page