Volver al ranking

base/node

Shellbase.org

Everything required to run your own Base node

Crecimiento de estrellas
Estrellas
68.5k
Forks
3.3k
Crecimiento semanal
Issues
3
20k40k60k
feb 2023mar 2024may 2025jul 2026
README

Base

Base Node

Base is a secure, low-cost, developer-friendly Ethereum L2 built on Optimism's OP Stack. This repository contains a Docker build for running a Base node with base-reth-node and base-consensus.

Website base.org Docs Discord Twitter Base Farcaster Base

Quick Start

  1. Ensure you have an Ethereum L1 full node RPC and beacon endpoint available.

  2. Choose your network:

    • For mainnet: use .env.mainnet
    • For testnet: use .env.sepolia
  3. Configure your L1 endpoints in the appropriate .env file:

    BASE_NODE_L1_ETH_RPC=<your-preferred-l1-rpc>
    BASE_NODE_L1_BEACON=<your-preferred-l1-beacon>
    
  4. Start the node:

    # For mainnet (default):
    docker compose up --build
    
    # For testnet:
    NETWORK_ENV=.env.sepolia docker compose up --build
    

Supported Clients

  • Execution: base-reth-node
  • Consensus: base-consensus

Requirements

Minimum Requirements

  • Modern multicore CPU
  • 32GB RAM (64GB recommended)
  • NVMe SSD drive
  • Storage: (2 * current chain size + snapshot size + 20% buffer) to accommodate future growth
  • Docker and Docker Compose

Production Hardware Specifications

The following are the hardware specifications we use in production:

Reth Archive Node (recommended)

  • Instance: AWS i7i.12xlarge
  • Storage: RAID 0 of all local NVMe drives (/dev/nvme*)
  • Filesystem: ext4

Configuration

Required Settings

  • BASE_NODE_L1_ETH_RPC: your Ethereum L1 node RPC endpoint
  • BASE_NODE_L1_BEACON: your L1 beacon node endpoint
  • BASE_NODE_NETWORK: base or base-sepolia
  • RETH_CHAIN: base or base-sepolia

Network Settings

  • Mainnet:
    • RETH_CHAIN=base
    • BASE_NODE_NETWORK=base
    • Sequencer: https://mainnet-sequencer.base.org
  • Sepolia:
    • RETH_CHAIN=base-sepolia
    • BASE_NODE_NETWORK=base-sepolia
    • Sequencer: https://sepolia-sequencer.base.org

Optional Features

  • Flashblocks: set RETH_FB_WEBSOCKET_URL. When set, the execution client runs in Flashblocks mode; otherwise it runs in vanilla mode.
  • Follow mode: set BASE_NODE_SOURCE_L2_RPC
  • Pruning: set RETH_PRUNING_ARGS

For full configuration options, see .env.mainnet or .env.sepolia.

Testing Flashblocks RPC Methods

When running in Flashblocks mode, you can query a pending block using the Flashblocks RPC:

curl -X POST \
  --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["pending", false],"id":1}' \
  http://localhost:8545

Snapshots

Snapshots are available to help you sync your node more quickly. See docs.base.org for links and more details on how to restore from a snapshot.

Supported Networks

Network Status
Mainnet
Testnet

Troubleshooting

For support please join our Discord and post in 🛠|node-operators. You can alternatively open a new GitHub issue.

Disclaimer

THE NODE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. We make no guarantees about asset protection or security. Usage is subject to applicable laws and regulations.

For more information, visit docs.base.org.

Repositorios relacionados
obra/superpowers

An agentic skills framework & software development methodology that works.

ShellMIT Licenseaibrainstorming
258.3k23k
ohmyzsh/ohmyzsh

🙃 A delightful community-driven (with 2,500+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool that makes it easy to keep up with the latest updates from the community.

ShellMIT Licenseshellzsh-configuration
ohmyz.sh
188.7k26.5k
mattpocock/skills

Skills for Real Engineers. Straight from my .agents directory.

ShellMIT License
179.1k15.3k
msitarzewski/agency-agents

A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specialized expert with personality, processes, and proven deliverables.

ShellMIT License
134.8k22k
d3/d3

Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:

ShellISC Licensevisualizationdata-visualization
d3js.org
113.3k22.7k
papers-we-love/papers-we-love

Papers from the computer science community to read and discuss.

Shellcomputer-scienceread-papers
paperswelove.org
108k6.4k
nvm-sh/nvm

Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions

ShellMIT Licensenvmnodejs
94.2k10.3k
base-org/node

Everything required to run your own Base node

Shell
base.org
68.5k2.6k
youngyangyang04/leetcode-master

《代码随想录》LeetCode 刷题攻略:200道经典题目刷题顺序,共60w字的详细图解,视频难点剖析,50余张思维导图,支持C++,Java,Python,Go,JavaScript等多语言版本,从此算法学习不再迷茫!🔥🔥 来看看,你会发现相见恨晚!🚀

Shellleetcodeprogrammer
62k12.3k
pi-hole/pi-hole

A black hole for Internet advertisements

ShellOtherpi-holead-blocker
pi-hole.net
60k3.3k
tw93/Mole

🐹 Clean, uninstall, analyze, optimize, and monitor your Mac from the terminal.

ShellGNU General Public License v3.0cleancleaner
mole.fit
59.5k2.1k
romkatv/powerlevel10k

A Zsh theme

ShellMIT Licensezsh
54.8k2.4k