lodestar
Ethereum Consensus client for the Zig and TypeScript ecosystem
What XERJ indexed
Snapshot
Only packages/beacon-node/src/api/impl/beacon/blocks, packages/beacon-node/src/chain, packages/beacon-node/src/db, packages/beacon-node/src/execution/engine, packages/beacon-node/src/metrics/metrics, packages/beacon-node/src/network/reqresp/handlers, packages/beacon-node/src/util, packages/beacon-node/te at commit f1b14bce8f (2026-09-25). unstable is 879 commits ahead.
Selected work

“de-duplicate execution payload from archived Gloas envelopes (#…”. 35 files, 1,663 lines in packages/beacon-node, packages/types, packages/cli.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-16. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
ethereumbeacon-chainproof-of-staketypescripteth2serenityblockchain
Example questions
- How does lodestar implement ethereum?
- What does packages/beacon-node do in lodestar?
- Show the beacon-chain code in lodestar.
Inside the indexed corpus
- 2,232 files, 29.5 MB in total, about 13.5 KB per file.
- The selected commit changed 35 of those files (1.6%).
- Languages by size: TypeScript 71.4%, Zig 26.8%, JavaScript 0.7%, Shell 0.5%, Go Template 0.4%.
- On GitHub since 2018-06-22, last push 2026-10-31, 12,624 commits on unstable.
- The pin is 879 commits behind unstable; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for ChainSafe/lodestar on 2026-10-31, and the LICENSE file at commit f1b14bce8f was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Marko Lazic (@markolazic01) has 1 selected repository on the hub.
Using XERJ with lodestar
- Index a monorepo so your agent stops reading the whole repo The pinned tree has 2,232 files.
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones ChainSafe/lodestar at the pinned commit and indexes it on your machine.
Search the GitHub repository ChainSafe/lodestar with XERJ (https://hub.xerj.org/corpus/chainsafe--lodestar). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/ChainSafe/lodestar lodestar && git -C lodestar checkout f1b14bce8f760fbc3259589d8eefb4e7f44ed16d 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./lodestar --url http://127.0.0.1:9200 --prefix lodestar --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: Apache-2.0. Keep the copyright notice and credit the authors.
Related
Marko LazicCryptography, TLS and secrets corporaaccord-legal-modelsdunorth595--xrpl-agent-logblstkennbroorg/trackennfoundry-rs/foundrysb-child/watchwallet
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.