Protocols

Midnight: m/44'/2400' wallet keys, and NIGHT on Cardano

Last reviewed 1 December 2026.

Information, not advice. This page describes official Midnight documentation and the official midnight-ntwrk wallet specification. It is not financial, legal, or recovery advice, and it is not a substitute for the wallet that holds your backup.

Safety: Never type or paste a real recovery phrase, master seed, or viewing key into a website, chat, or any tool you do not fully control and trust. Official Midnight docs warn that a shielded viewing key can reveal incoming shielded history and cannot be revoked.

A Midnight wallet, in official documentation, is three wallets from one master seed: an unshielded wallet for NIGHT and other unshielded tokens, a shielded wallet for shielded tokens, and a DUST wallet that pays fees. Official Keys and addresses documentation and the official wallet specification derive all of them with BIP-32 along:

m / 44' / 2400' / account' / role / index

44 is the BIP44 purpose. 2400 is Midnight's coin type in official docs. Official docs say a wallet with no reason to choose otherwise uses account 0 and index 0.

This page checked the SLIP-0044 registry on 2026-12-01. Coin type 2400 is not listed there. Official Midnight documentation still uses 2400. This page reports that official path; it does not invent a registry entry.

Roles, not a single Cardano path

Official documentation says the path follows BIP-32, and that its layout follows BIP-44 and CIP-1852 ideas. The official specification is explicit that the Night (unshielded) part of the hierarchy still uses purpose 44, not Cardano's purpose 1852.

RoleOfficial constantValueWhat official docs use it for
Unshielded externalRoles.NightExternal0Default unshielded signing key (Schnorr). The NIGHT key
Unshielded internalRoles.NightInternal1Present for BIP-44 change compatibility; the SDK does not use it by default
DUSTRoles.Dust2Seed of the DUST secret key
Shielded (Zswap)Roles.Zswap3Seed of the shielded secret keys
Unshielded ECDSARoles.EcdsaUnshielded4Opt-in ECDSA unshielded key

The default unshielded NIGHT key is m/44'/2400'/0'/0/0. The default DUST seed is m/44'/2400'/0'/2/0. The default shielded seed is m/44'/2400'/0'/3/0. Official documentation takes the 32-byte private key at each path.

Official unshielded signing is Schnorr over secp256k1 (BIP-340). ECDSA is opt-in at role 4. Official addresses are Bech32m strings such as mn_addr1…, mn_shield-addr1…, and mn_dust1….

How this differs from Cardano

A Cardano payment key in a typical CIP-1852 wallet lives under purpose 1852' and coin type 1815'. Official Midnight documentation does not treat m/44'/2400'/… as a Cardano path.

Official funding and DUST documentation distinguish NIGHT on Midnight (unshielded Midnight address, mn_addr_) from NIGHT on Cardano, which official docs call cNIGHT. Registering cNIGHT so that it generates DUST is a Cardano transaction that names a Cardano stake credential and a Midnight DUST address. Official docs do not say that a Cardano CIP-1852 payment key is the same secret as the Midnight role-0 key.

Official documentation starts from a master seed. The official keys and SDK pages cited here do not define a unique Midnight mnemonic format or a required word count. If a wallet product presents a BIP39 phrase, confirm in that product's documentation how it turns the phrase into the master seed. This page does not fill that gap.

FAQ

What is the official Midnight wallet path? Official docs use m/44'/2400'/account'/role/index. Defaults are account 0 and index 0. Role 0 is the default unshielded NIGHT key, role 2 is DUST, and role 3 is shielded.

Is that the same as a Cardano path? No. Official Midnight specification uses purpose 44 and coin type 2400. A typical Cardano CIP-1852 path uses purpose 1852 and coin type 1815.

Is coin type 2400 in SLIP-0044? Official Midnight docs use 2400. On 2026-12-01, SLIP-0044 did not list 2400 for Midnight.

Does one Midnight phrase create unshielded, shielded, and DUST keys? Official docs derive all three from one master seed, at the same account and index, differing only by role. The secrets and address types are still different.

See also

Sources