erigon-build

Build the Erigon binary from source using make erigon.

3.6k|1.5k|Updated May 27, 2019
One-click install
npx skills add https://github.com/erigontech/erigon --skill erigon-build
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: erigon-build
Source: https://github.com/erigontech/erigon/tree/main/.claude/skills/erigon-build
Command: npx skills add https://github.com/erigontech/erigon --skill erigon-build

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Build the Erigon binary from source to enable running the Ethereum client locally and in CI, removing manual compilation steps and ensuring a consistent build.

Core Features & Use Cases

  • Build the Erigon binary from the repository using make erigon.
  • Output the executable to ./build/bin/erigon for easy deployment and testing.
  • Use in local development, CI pipelines, or benchmarking to validate changes before release.

Quick Start

From the repository root, run make erigon to compile the Erigon binary, then verify the binary with ./build/bin/erigon --version.

Frequently Asked Questions about erigon-build

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build the Erigon binary from source?

Build the Erigon binary by running make erigon from the repository root. The command compiles the Go and C source code using your installed toolchains, producing the executable at ./build/bin/erigon for deployment or testing.

What do I need to compile Erigon locally?

Compiling Erigon requires Go and C toolchains, Make, and Git. These prerequisites enable the build system to extract repository metadata and compile the binary from source code in your development environment.

Can I use Erigon builds in CI pipelines?

Yes, the Erigon build process integrates into CI pipelines to automate binary compilation and validation. Run make erigon in your pipeline to produce consistent, reproducible binaries before release or testing.

How do I verify the Erigon binary after building?

Verify the compiled binary by running ./build/bin/erigon --version from the repository root. This confirms the executable was built successfully and is ready for deployment or benchmarking.

Why build Erigon from source instead of using precompiled binaries?

Building from source ensures consistency across local development, CI, and benchmarking environments, removes dependency on external binaries, and enables validation of changes before release by producing the exact binary your codebase generates.

Does the Erigon build process work on different operating systems?

The Erigon build relies on Go and C toolchains plus Make, which are available cross-platform. Builds produce the binary at the same output path, though toolchain availability and compilation flags may vary by OS.