midnight-node

Bringing rational privacy to blockchain

A new way for AI to search for data
View on GitHub
69GitHub stars
2,027commits on main
49forks
node-1.0.400latest release, 2026-10-06

Rust 88.1%, Shell 5.6%, TypeScript 3.9%, Earthly 1.7% · created 2025-05-20 · last push 2026-10-31

What XERJ indexed

Snapshot

3,161 files · 99.7 MB

Only changes/node/added, docs, ledger/src, ledger/tests, node/src at commit ef0ed5898a (2026-09-24). main is 80 commits ahead.

Selected work

Christos Palaskas
@chrispalaskas

“add midnight_ledgerStats RPC for ledger collection sizes …”. 10 files, 491 lines in node, ledger.

Licence

The repository

NOASSERTION

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

NOASSERTION, with credit

The author agreed by email on 2026-10-12. 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

blockchaincardanopolkadot-sdkprivacy-protectioncompactmidnightntwrk

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported Apache-2.0 for midnightntwrk/midnight-node on 2026-10-31, but the LICENSE file at commit ef0ed5898a was reviewed as NOASSERTION. The corpus is the pinned commit, so answers from it follow NOASSERTION.

Contributors

Christos Palaskas (@chrispalaskas) has 1 selected repository on the hub.

Using XERJ with midnight-node

The prompt

Paste it into your AI agent. It clones midnightntwrk/midnight-node at the pinned commit and indexes it on your machine.

Search the GitHub repository midnightntwrk/midnight-node with XERJ (https://hub.xerj.org/corpus/midnightntwrk--midnight-node).
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/midnightntwrk/midnight-node midnight-node && git -C midnight-node checkout ef0ed5898ad1f77ad1ddc0516ca3a819812dd547
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./midnight-node --url http://127.0.0.1:9200 --prefix midnight-node --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: check the LICENSE file. Keep the copyright notice and credit the authors.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.