Skip to content
Altcoin News

Dispatches from the altcoin market

Midnight Activates Ledger 9 With New Contract Features

Midnight upgraded its mainnet on Nov. 6, adding contract and cryptographic tools; developers must update software, while NIGHT holders need no action.

The Altcoin News Desk2 min read

Midnight Activates Ledger 9 With New Contract Features

Midnight upgraded its mainnet from Ledger 8 to Ledger 9 on Nov. 6, adding contract-to-contract calls and cryptographic tools intended to support more connected applications. The network’s Ledger 9 announcement says existing balances and deployed contracts migrated automatically.

The upgrade also adds native ECDSA signature verification, Keccak hashing and secp256k1 support for Compact contracts. These standards are used across other blockchain systems, but their addition does not mean every planned cross-chain feature is already live.

What can Ledger 9 contracts do now?

A contract can call another contract within a single transaction, and contracts can emit events that applications read through the indexer. That gives developers building blocks for applications that combine steps such as token approval and a swap.

There are limits. Midnight’s Ledger 9 upgrade notes say the first phase of contract calls and events is limited to unshielded data, so the release does not establish that private cross-contract applications are available. It also updates the zero-knowledge intermediate representation, or ZKIR, to version 3.

Does the upgrade change NIGHT or enable its bridge?

NIGHT balances were not changed, and mainnet holders do not need to take action, Midnight says. The network automatically replays DUST registrations backed by cNIGHT; DUST is the network resource used to pay transaction fees.

The upgrade did not activate the cNIGHT-to-mNIGHT bridge. Midnight says that requires a separate governance decision, so Ledger 9 alone does not enable NIGHT transfers between Cardano and Midnight.

What must developers update?

Ledger 9 no longer accepts transactions built in the Ledger 8 format. Developers need to move to the compatible software versions and update applications that rely on the older transaction interface.

  1. Update to Wallet SDK 2.0.0 and Midnight.js 5.0.0.
  2. Use Compact toolchain 0.36.0 for new contracts.
  3. Rebuild and resubmit any Ledger 8 transaction that was not included before the upgrade.

Sources