Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
N

node

> 编程语言
Open source

Reference implementation of the node for the Miden blockchain

123.8K stars0 likes3 views
WebsiteGitHub

About

Reference implementation of the node for the Miden blockchain

Miden node

[![CI][ci-badge]][ci-link] [ci-badge]: https://github.com/0xMiden/node/actions/workflows/ci.yml/badge.svg [ci-link]: https://github.com/0xMiden/node/actions/workflows/ci.yml [developer-docs]: https://0xMiden.github.io/node/index.html

This repository contains the core infrastructure components of a Miden network, including the sequencer and full node implementations. It also defines the public gRPC API for interfacing with the network.

Miden is still under active development. The components in this repository, including the RPC schema, should be treated as unstable. The current network design remains centralized while the proving system and protocol mature.

Documentation

Node documentation for official testnet versions is available as part of the official Miden docs at . This includes guides for network operators, full node runners, and builders looking to run a local Miden network.

The gRPC schema can be found in the top-level proto directory. Note that this will reflect the current development state, and one should look to the official docs for network schemas.

The rest of this README is intended for developers in this repository. Advanced users and the curious may get some further value from it. If any information is missing from the official documentation, please open an issue.

Developer docs

Developers can find repository and onboarding documentation in the [developer docs][developer-docs]. Those docs are more in-depth but the following sections endeavor to provide a short summary.

Workspace organization

The workspace is organized around several binaries, with supplementary crates providing organization and shared functionality. These crates are for internal use only; the primary outputs are the binaries and gRPC schema. The former are found under the bin directory, the latter in the proto directory.

Binaries

A quick overview of the binaries:

  • node: the node binary which can operate in either sequencer or full node configuration.
  • validator: independent verification of proposed blocks before they may be committed on chain.
  • ntx-builder: monitors blocks for network notes, and creates network transactions consuming these.
  • remote-prover: provides a FIFO service for proving transactions, batches, and blocks.
  • network-monitor: a tool which monitors a network's infrastructure, e.g. block production, RPC, validator, prover, faucet, explorer, and note transport.
  • funding-service: sends the chain's native asset to any account which asks for it, so infrastructure can pay transaction fees.

There are additional binaries but they're more supplementary; see their READMEs for more information.

gRPC

The gRPC schema falls into two buckets: the primary public RPC API and remote prover API, and the internal schemas used to communicate between internal network services.

Workspace crates

The crates exist primarily to support the binaries and are not intended as libraries for external development.

  • store: persistent chain state and database-backed store logic used by the node.
  • rpc: public RPC server frontend of the node.
  • block-producer: handles block sequencing and block syncing for the node.
  • proto: uses gRPC bindings from the schema for both RPC and internal services.
  • db: common framework for SQLite migrations and interactions.
  • utils: catch-all common utilities.

Development

The [developer documentation][developer-docs] provides the architectural design of the node and other binaries.

For testing and other workflows, please see the Makefile. The more frequently used commands are:

bash
# Note: we use +nightly for formatting, so using general `cargo fmt` will conflict.
make format
make lint
make test

Our CI enforces consistency here so it would be good to familiarize yourself with at least our CI GitHub jobs.

Contributing

Please read the contributing guidelines before opening a pull request. PRs may be closed unless they are associated with an issue assigned by a maintainer.

For typos and documentation errors, please open an issue rather than a drive-by pull request.

License

This project is MIT licensed.

Issues· 148 open

View all issuesOpen on GitHub
  • #2704

    Decouple from KMS

    validatorUpdated Sep 28, 2026
  • #2135

    Follow-ups of `protocol` 0.15 integration

    Updated Sep 28, 2026
  • #2639

    Use `protobuf` instead of serde in the store

    storeUpdated Sep 28, 2026
  • #2702

    Support account code upgrades from protocol

    storeUpdated Sep 28, 2026
  • #2614

    Bootstrapping the operator accounts at & after genesis

    Updated Sep 28, 2026
  • #2698

    Decide the lifecycle of unconfirmed notes in note transport

    Updated Sep 27, 2026
  • #2630

    gRPC schemas should use dedicated request and response types

    rpcrpc stabilizationUpdated Sep 25, 2026
  • #2694

    ci: make Docker validation work for fork pull requests

    Updated Sep 24, 2026
  • #2689

    GetAccount intermittently returns "data corrupted ... root not found" for the testnet faucet

    Updated Sep 24, 2026
  • #2515

    Consider exposing fee sponsorship notes via the debug endpoint

    network transactionsUpdated Sep 23, 2026

> Tags

Rust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedDec 3, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言