Back to Knowledge Base
Node ArchitectureUnchanged since v1.0.7

Midnight Node Architecture

Overview of Midnight node internals — consensus, cryptography, runtime, P2P, RPC, storage, and transactions. Each topic is a dedicated agent skill with diagrams.

midnight-node-architecture.md

Midnight Node Architecture

Midnight is a Cardano Partnerchain built on the Polkadot SDK. The node stack spans consensus, cryptography, on-chain execution, networking, RPC, storage, and a proof-based transaction model.

Full stack map

flowchart TB
  subgraph Clients["External clients"]
    DApp["dApps / wallets"]
  end

  subgraph Node["Midnight node"]
    RPC["RPC layer"]
    P2P["P2P / libp2p"]
    Pool["Transaction pool"]
    RT["WASM runtime + FRAME pallets"]
    PM["pallet-midnight"]
    Store["ParityDB + Merkle trie"]
  end

  subgraph Consensus["Consensus"]
    AURA["AURA — block production"]
    GRANDPA["GRANDPA — finality"]
  end

  DApp --> RPC
  P2P <--> Node
  Pool --> RT
  RT --> PM
  PM --> Store
  AURA --> RT
  GRANDPA --> RT

Topic skills

TopicSkill folderCovers
Consensusmidnight-consensus/AURA, GRANDPA, SPO validator selection
Cryptographymidnight-cryptography/Blake2-256, sr25519, ECDSA, Ed25519, twoxhash
Onchain logicmidnight-onchain-logic/WASM runtime, FRAME, pallet-midnight
P2P networkingmidnight-p2p-networking/Discovery, transport, gossip
RPCmidnight-rpc/JSON-RPC for state and system queries
Storagemidnight-storage/ParityDB, trie, state roots
Transactionsmidnight-transactions/Proof-based tx lifecycle

Browse these on MIDSKILLS under Foundation, or install with:

npx skills add Kali-Decoder/Midnight-skills

Learning path: Midnight node architecture (/paths).

What changed in v1.0.16

All registry changes

No changes in v1.0.16 or the releases before it that we track.

Give it to your agent

Paste the URL into your agent, or save the file into your project.

curl -fsSL -o midnight-node-architecture.md https://midskills.sevryn.xyz/knowledge/midnight-node-architecture/raw
Author
Kali-Decoder
Category
Node Architecture
Last updated
Jul 11, 2026

Tags

ConsensusNodeRuntimeP2PRPC
Create Social CardLive HackathonsGallery
Mock Demo
Midnight Node Architecture | MIDSKILLS