Knowledge Base
Shared references your agent can load directly — version pins, provider wiring, and fixes for common Midnight dApp errors.
5 references
References
Version Matrix
Every pinned Midnight version in one place — Compact toolchain, Docker images, npm packages, and removed packages to avoid.
Use when · Pinning dependencies, or checking which toolchain and Docker images match the current Ledger set
Browser DApp Gotchas
Symptom → cause → fix table for DApp Connector wallets (1AM, Lace), Next.js and Midnight.js 5 on preview, preprod and mainnet — deploy, indexer, and ZK asset errors.
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.
Browser Session & Providers
Canonical Ledger 9 / Midnight.js 5 provider wiring for browser dApps — connect a 1AM or Lace wallet, build providers, then deploy and call contracts. Copy into lib/midnight.ts.
Resolving Versions Safely
How to resolve package versions and SDK APIs at use time instead of trusting @latest — co-versioned Midnight packages, live traps, and the resolve-at-use-time snippet.