The Big Problem That Midnight Solves

Imagine you want to open a food stall in a busy market. But here’s the catch: every time a customer buys a snack, you have to pay the market a fee—and your customers must carry special market coins just to walk up to your stall.

That’s how most blockchains work today. Every transaction costs “gas” or fees, and new users must figure out how to buy that cryptocurrency before they can use your app. It’s a huge barrier.

Midnight’s solution is clever: split the “money” from the “fuel.”


Meet the Two Tokens

Think of it like owning a rental property.

NIGHT is the capital asset—the apartment building you own. It holds value and doesn’t get spent on daily operations.

DUST is the operational fuel—the rent money that flows in each month while you hold the building. You can use DUST to pay for things like transaction fees without ever spending your actual NIGHT.

You hold NIGHT (the building). While you hold it, it generates DUST (the rent) automatically. You can use that DUST to pay for transactions, and your NIGHT balance stays completely untouched.


Why This Matters to You

For developers building apps:

Under the old system, every new user must buy fuel (cryptocurrency) before using your app. Most people quit before they even start—it’s too much hassle.

Under Midnight’s system, you as the developer hold NIGHT. Your NIGHT generates DUST. You use that DUST to pay transaction fees for your users.

The result is a self-funding DApp. A new user can open your app and start using it immediately—no wallet setup, no crypto purchase, no friction. This is a game-changer for getting everyday people to use blockchain applications.

For everyday users:

You don’t need to understand any of this. The Midnight wallet handles everything automatically. You just use apps, and the DUST “fuel” appears behind the scenes like magic. It feels just like using a normal website or mobile app.


The DUST Cycle: A Story

Let’s follow Alice, who has 100 NIGHT tokens.

Phase 1: Generation (Planting the Seed)

Alice registers her NIGHT address to a DUST address. This is like planting a tree.

Her 100 NIGHT starts generating DUST at a steady rate: 1 NIGHT generates up to 5 DUST. So 100 NIGHT can generate a maximum of 500 DUST.

After about one week, her 100 NIGHT has generated the full 500 DUST. Her DUST “bucket” is now completely full.

Think of it like a rainwater tank. It fills gradually, and once it’s full, it stops collecting until you use some water. The system doesn’t allow unlimited generation—there’s a cap to keep everything balanced.

Phase 2: Constant Capacity (The Full Tank)

Alice now has 500 DUST sitting in her wallet. She doesn’t have to do anything—it just stays there, ready to use.

She can spend DUST on transactions whenever she wants. She could spend 50 DUST on a transaction, and the tank would still have 450 left. The generation has stopped because she hit the cap, but as soon as she spends some, the generation resumes to fill it back up.

Phase 3: Decay (The Drain)

Alice decides to move her 100 NIGHT to a different wallet. The moment she does, the DUST generation stops at her old address.

Now her 500 DUST begins to decay—it drains away at the same rate it was filled. After about one week, all 500 DUST will be gone if she doesn’t spend it.

Here’s an important detail: she can still spend the DUST while it’s decaying. It’s like having a gift card that slowly loses value—you can use it before it expires. If she spends 200 DUST during the first few days of decay, the remaining 300 will continue to drain until it hits zero.

Phase 4: Empty (The Dry Well)

Once the decay is complete, the DUST balance hits zero. The address can no longer perform transactions. It’s like a car with an empty gas tank—it just won’t run.

But here’s the good news: Alice can re-register her NIGHT to a new DUST address and start the cycle all over again. The NIGHT itself hasn’t been spent or lost—it’s still hers. She’s just redirecting where its generating power goes.


What If Alice Wants to Reassign?

Alice can “unplug” her NIGHT from one DUST address and “plug it in” to another at any time.

If she deregisters the old address, the decay phase begins—DUST drains slowly from that wallet.

If she registers a new address, a fresh generation phase begins—DUST fills slowly in the new wallet.

This flexibility allows developers to direct their NIGHT’s generating power wherever it’s needed most. For example, a developer might generate DUST in one wallet to pay for their app’s transaction fees, then later reassign that same NIGHT to generate DUST for a different project.


Real-World Case Study: A Gaming DApp

Imagine a blockchain-based card game called CryptoKittens: Battle Royale.

Without Midnight:

A new player visits the website. They must set up a crypto wallet, which takes about 15 minutes of confusing steps. Then they must buy $20 of cryptocurrency just to have enough “fuel” for transaction fees. Research shows that around 80% of visitors abandon the process at this point. The game struggles to grow because the onboarding friction is just too high.

With Midnight:

The developer holds 10,000 NIGHT. At the rate of 1 NIGHT generating up to 5 DUST, this gives them 50,000 DUST to work with. They use this DUST to pay all transaction fees for their players.

A new player clicks “Play Now” and starts battling immediately. No wallet setup. No crypto purchase. No fees to worry about. The game feels just like any other free-to-play mobile game.

The developer is essentially “subsidizing” onboarding using DUST generated from their NIGHT holdings. Their NIGHT investment becomes a growth engine, not just a speculative asset. As more players join and the game succeeds, the value of their NIGHT may increase as well—creating a virtuous cycle.


What You Can and Cannot Do in Each Phase

During the generation phase, DUST is filling up and you can spend it on transactions. The balance grows until it hits the cap.

During the constant phase, DUST is at maximum and you can spend it freely. Any spending triggers more generation to refill toward the cap.

During the decay phase, DUST is draining and you can still spend it. But you’re racing against time—the balance will hit zero after about a week if you don’t use it.

During the empty phase, DUST is at zero and you cannot perform transactions from that address. The address still exists, but it’s functionally useless for network activity.


The Big Picture

Midnight’s two-token model changes who pays for transactions and when. It shifts the burden from every user, every time, to token holders who can generate fuel in advance.

For developers, this means easier user onboarding, new business models like “gas-free” apps, and more predictable costs. They can plan their DUST generation and budget for transaction fees without worrying about volatile gas prices.

For users, this means no need to understand crypto just to use an app, no upfront purchase required, and a seamless experience that feels like using any normal website or app.


Questions You Might Still Have

Does the DUST ever go away completely?

Only if you deregister or move your NIGHT. If you keep your NIGHT registered to a DUST address, the DUST stays at its cap after filling. It doesn’t vanish on its own.

Can I lose NIGHT while generating DUST?

No, absolutely not. Generating DUST does not spend your NIGHT. NIGHT is only spent if you choose to transfer it or sell it. Think of it like earning interest on a savings account—the interest doesn’t reduce your principal.

How does the system prevent too much DUST from being created?

The cap is the key. One NIGHT can generate up to 5 DUST, and no more. This ties the total DUST supply directly to the amount of NIGHT being held. You can’t create DUST out of thin air—it’s always backed by real NIGHT.

What happens if I spend DUST during the decay phase?

Spending works normally, but the balance is still draining at the same time. If you have 500 DUST and spend 200, you have 300 left, and that 300 will continue to decrease each day until it hits zero.


This article is based on Midnight’s published technical documentation and is intended for educational purposes. Always refer to official sources for the most current information.