Back to Browse

Use with your AI agent

  1. Install — run npx skills add Kali-Decoder/Midnight-skills --skill midnight-version-matrix for this skill, or npx skills add Kali-Decoder/Midnight-skills for all
  2. Prompt — copy the example prompt and paste it into Cursor, Claude Code, or Codex
  3. Build — the agent loads this skill and scaffolds your Midnight work

Version Compatibility Matrix

FoundationIntermediateReviewedNewUpdated 3 days agov1.0.0

Agent picks this when: Pick package versions that work together, or upgrade safely

The pinned, tested Midnight version set (toolchain, language, runtime, ledger, Midnight.js, Wallet SDK, images) with exact install commands. Generated from references/versions.json.

Good for

  • Pinned toolchain, language version, packages, and Docker images as one tested set.
  • Exact install commands, package scopes, and removed packages. Live copy at /api/versions.

Preview in agent

Suggested prompts

Pick package versions that work together, or upgrade safely. Use the "midnight-version-matrix" skill from MIDSKILLS. Follow Compact smart-contract best practices, wire wallet flows where needed, and explain each step as you implement. Target Midnight Preprod unless I specify otherwise.

Loaded skill midnight-version-matrix

What the skill guides the agent to do:

  1. Pinned toolchain, language version, packages, and Docker images as one tested set.
  2. Exact install commands, package scopes, and removed packages. Live copy at /api/versions.

Illustrative — based on the skill's description, not recorded agent output.

Try it without installing: npx skills use Kali-Decoder/Midnight-skills@midnight-version-matrix

What changed in v1.0.16

All registry changes

New skill — first published in v1.0.16 (not in v1.0.14).

On this page · 7 sections
SKILL.md
<!-- GENERATED by scripts/generated-skills.mjs from references/versions.json. Do not edit: change versions.json and run `npm run sync:registry`. -->

Midnight Version Matrix (Ledger 9)

Midnight packages only work as a tested set. Install the whole set below together, with exact versions. Never @latest.

Ledger 9.1 set (support matrix patch of 17 Nov 2026). Verified against npm on 21 Nov 2026. Cross-check docs.midnight.network/relnotes/support-matrix before pinning.

Workflow

  1. Get the live set first. GET https://midskills.sevryn.xyz/api/versions returns this same data as JSON (shape of versions.json). If it answers and differs from this page, the live set wins: this page is the copy from the last skills release.
  2. Pick packages from the tables: browser dApps need Browser / shared; Node scripts, CLIs, and tests add Node only.
  3. Install with --save-exact using the commands below; set the toolchain with compact update.
  4. Run midnight-doctor to confirm the project matches.
  5. If this set and the support matrix disagree, the support matrix wins. Report the drift.

Toolchain and images

ComponentPinned
Compact devtools (compact --version)0.5.1
Compact toolchain (compact compile --version)0.36.1
Language version (pragma language_version)0.28.0
Proof server imagemidnightntwrk/proof-server:9.0.2
Indexer imagemidnightntwrk/indexer-standalone:4.4.101
Node imagemidnightntwrk/midnight-node:2.1.101
compact update 0.36.1
docker run -p 6300:6300 midnightntwrk/proof-server:9.0.2 midnight-proof-server -v
pragma language_version >= 0.28.0;

Package scopes

Midnight.js, Wallet SDK, ledger-v9, DApp Connector and testkit publish under @midnightntwrk. compact-runtime, compact-js and platform-js are still published only under @midnight-ntwrk (compiler output imports @midnight-ntwrk/compact-runtime). midnight-js-network-id has no 5.x release: setNetworkId was removed, pass networkId in config instead.

Browser / shared packages

PackageVersionScope
@midnight-ntwrk/compact-runtime0.21.0@midnight-ntwrk
@midnight-ntwrk/compact-js3.0.2@midnight-ntwrk
@midnightntwrk/ledger-v91.0.2@midnightntwrk
@midnightntwrk/midnight-js-contracts5.0.2@midnightntwrk
@midnightntwrk/midnight-js-types5.0.2@midnightntwrk
@midnightntwrk/midnight-js-utils5.0.2@midnightntwrk
@midnightntwrk/midnight-js-indexer-public-data-provider5.0.2@midnightntwrk
@midnightntwrk/midnight-js-fetch-zk-config-provider5.0.2@midnightntwrk
@midnightntwrk/midnight-js-level-private-state-provider5.0.2@midnightntwrk
@midnightntwrk/midnight-js-dapp-connector-proof-provider5.0.2@midnightntwrk
@midnightntwrk/dapp-connector-api4.1.0@midnightntwrk
@midnightntwrk/wallet-sdk-prover-client2.0.1@midnightntwrk
@midnightntwrk/zkir-v22.2.0@midnightntwrk

Tested alongside: next ^15.0.0, react ^19.0.0, react-dom ^19.0.0.

npm install --save-exact \
  @midnight-ntwrk/[email protected] \
  @midnight-ntwrk/[email protected] \
  @midnightntwrk/[email protected] \
  @midnightntwrk/[email protected] \
  @midnightntwrk/[email protected] \
  @midnightntwrk/[email protected] \
  @midnightntwrk/[email protected] \
  @midnightntwrk/[email protected] \
  @midnightntwrk/[email protected] \
  @midnightntwrk/[email protected] \
  @midnightntwrk/[email protected] \
  @midnightntwrk/[email protected] \
  @midnightntwrk/[email protected]

Node only (wallets, CLIs, tests)

PackageVersionScope
@midnightntwrk/midnight-js-http-client-proof-provider5.0.2@midnightntwrk
@midnightntwrk/midnight-js-node-zk-config-provider5.0.2@midnightntwrk
@midnightntwrk/wallet-sdk2.0.1@midnightntwrk
@midnightntwrk/wallet-sdk-facade5.0.1@midnightntwrk
@midnightntwrk/wallet-sdk-shielded4.0.1@midnightntwrk
@midnightntwrk/wallet-sdk-unshielded-wallet4.0.1@midnightntwrk
@midnightntwrk/wallet-sdk-dust-wallet5.1.0@midnightntwrk
@midnightntwrk/wallet-sdk-hd4.0.0@midnightntwrk
@midnightntwrk/wallet-sdk-address-format4.0.1@midnightntwrk
@midnightntwrk/wallet-sdk-abstractions3.0.0@midnightntwrk
@midnightntwrk/testkit-js5.0.2@midnightntwrk
@midnightntwrk/midnight-js-compact5.0.2@midnightntwrk
npm install --save-exact \
  @midnightntwrk/[email protected] \
  @midnightntwrk/[email protected] \
  @midnightntwrk/[email protected] \
  @midnightntwrk/[email protected] \
  @midnightntwrk/[email protected] \
  @midnightntwrk/[email protected] \
  @midnightntwrk/[email protected] \
  @midnightntwrk/[email protected] \
  @midnightntwrk/[email protected] \
  @midnightntwrk/[email protected] \
  @midnightntwrk/[email protected] \
  @midnightntwrk/[email protected]

Removed — do not install

PackageWhy / replacement
@midnight-ntwrk/midnight-js-network-idsetNetworkId removed in Midnight.js 5; networkId lives in providers.config / wallet configuration
@midnight-ntwrk/ledger-v8replaced by @midnightntwrk/ledger-v9; mainnet no longer decodes Ledger 8 transactions
@midnight-ntwrk/wallet-apisuperseded by the Wallet SDK 2.x facade
@midnight-ntwrk/zswapsuperseded by ledger-v9 / Wallet SDK 2.x
@midnightntwrk/midnight-js-ledgernever published; ledger types come from @midnightntwrk/ledger-v9
TaskSkill
Check a project against this setmidnight-doctor/
Decode a version-mismatch errormidnight-common-errors/
Upgrade procedure and version trapstesting/

Start in 2 steps

  1. 1. Install — one skill or the full set
  2. 2. Prompt — paste the example into your agent

Install all skills (recommended)

npx skills add Kali-Decoder/Midnight-skills

One command adds every Midnight skill to Cursor, Claude Code, and similar agents.

Install this skill only

npx skills add Kali-Decoder/Midnight-skills --skill midnight-version-matrix

Installs only "midnight-version-matrix" into every detected agent (Cursor, Claude Code, Codex, …).

Example agent prompt

Pick package versions that work together, or upgrade safely. Use the "midnight-version-matrix" skill from MIDSKILLS. Follow Compact smart-contract best practices, wire wallet flows where needed, and explain each step as you implement. Target Midnight Preprod unless I specify otherwise.

Paste into Cursor, Claude Code, or Codex after installing.

Author
Tusharpamnani
Category
Foundation
Difficulty
intermediate
Version
v1.0.0

Tags

VersionsCompatibilitySetup

Files included

SKILL.md
Create Social CardLive HackathonsGallery
Mock Demo
Version Compatibility Matrix