ENKO

Last edited Category: Projects

nmtk (need more truth knowledge) is a free terminal program made by NeedMoreTruth. You learn the proof of work that Bitcoin uses, the transformer that today's AI is built on, and zero-knowledge proofs by running them on your own computer.

The motto is "Study that isn't fun is labour. I hate labour."

It is made up of four lessons called Knowledge Quests. The program says a line or two, you press Enter, and each time something really runs on your computer, so the numbers on the screen all come from actually running it.

It runs on Linux only. The latest version is 0.5.1, released on 27 September 2026.

Contents10 sections

1.Quests

A quest goes like a chat. The left half of the screen fills with the conversation from the bottom up, the way a messenger does, and the mechanism runs on the right. Enter is the only key you need to know to begin.

A quest usually goes in the order of hearing the explanation, running it, changing the values and breaking it on purpose, and a technical term comes up only after you have seen the thing run.

QuestTimeDifficultyMinimumRecommended
Proof of work40 minMedium2 cores4 cores
Ledger models20 minEasyAnyAny
Transformer45 minHard2 cores, 1 GiB memory4 cores, 4 GiB memory
Zero-knowledge proofs50 minHard2 cores4 cores, 2 GiB memory

On a computer below the minimum a quest runs at a smaller scale and shows on the screen that it was scaled down.

1.1.Proof of work

It mines block headers in Bitcoin's real format with SHA-256 run twice. Only the difficulty is lowered for practice, so a block turns up in a few seconds. It also measures how many hashes a second your computer manages and works out how many times the whole Bitcoin network of early 2009 that is.[1]

Then comes the 51% attack. A buyer pays a merchant, and meanwhile an attacker secretly mines a chain in which that coin goes back to the buyer. Give the attacker 30% of the hashing power and it mostly falls behind and gives up. Type 51 and run it again and it mostly succeeds: the payment is wiped out after the merchant has handed over the goods.

Depending on luck the result can come out the other way.

1.2.Ledger models

Bitcoin, Ethereum and Sui each write down who owns what in a different way. The quest starts all three from the same state, in which Alice has three coins worth 10 each, and sends a coin under all three at once.

  • Bitcoin counts coins. Paying part of a coin destroys it and makes two new ones, the payment and the change.
  • Ethereum keeps one line per person with a balance on it, and numbers each transfer.
  • Sui treats each coin as an object with its owner written on it. Send a coin and only the owner on that object changes.

After that you try spending the same coin twice, which is double spending. All three stop it: Bitcoin notices that the coin has already been spent, Ethereum that the transfer's number has already gone by, and Sui that the coin has moved on to a newer version.

1.3.Transformer

You train one model that guesses which character comes next. Everything from embeddings to backpropagation is written by hand with no machine learning framework underneath, and the size is set to fit the computer, so with eight cores it has about 100,000 weights and finishes training in under a minute.

Once it has trained, asking it nmtk gets back need more truth knowledge.

It can be broken, too. Raise the learning rate 3,000 times and the same model collapses into one character repeated, and that character is said to be the space most of the time.

1.4.Zero-knowledge proofs

A zero-knowledge proof convinces someone that a statement is true while showing nothing else. For example, proving you are old enough to buy a drink without showing your birthday or your name.

Four methods are run in the order the field went through them: the sigma protocol, Fiat-Shamir, a method that needs a trusted setup, and halo2, which Zcash made. The screen shows the time each one takes and the size of its proof side by side: the first three take under a millisecond with proofs under 100 bytes, and halo2 takes tens of milliseconds with a proof of about 1.5 KiB.

You also get to forge proofs. Leave the commitment out of the Fiat-Shamir challenge and a forged proof passes, and whoever kept the random number left over from a trusted setup gets a false proof through an untouched verifier.[2]

nmtzk, another program by the same developer, covers zero-knowledge proofs only and runs 21 proof systems.

2.Installing

It works on Fedora and Ubuntu. It does not run on macOS or Windows yet. There is no prebuilt executable, and pasting the one line below into a terminal installs what is needed and builds it from source.

git clone https://github.com/needmoretruth/needmoretruthknowledge.git && cd needmoretruthknowledge && ./install.sh

The first build takes about a minute. It asks nothing along the way, though sudo may want your password if the C compiler or curl is missing. After that, nmtk starts it.

The terminal has to be at least 80 columns by 24 rows. On first start it asks whether you want English or Korean.

Once installed it does not use the network. There is no update check and nothing about your use is sent anywhere, and all it keeps is one settings file with the list of quests you have finished.

3.History

The repository was created on 12 September 2026. The first version had five paragraphs of explanation on the left of the screen and the mechanism on the right. People are said to have read the first paragraph, skipped the rest, pressed keys until something moved and come away having learned nothing. The same day the quests were rewritten as conversations.

It reached 0.4.0 within that first day, and 0.5.0 and 0.5.1 went up together on 27 September as the first GitHub releases.

4.Trivia

  • The version number began at 0.1.0, went back to 0.0.1 when the quests were rewritten as conversations, and then became 0.1.1. The commit says a number below what was already published should not be used.
  • Before 0.5.0 an attacker with 10% sometimes won races it should almost never have won. The miners looked for new work only every 4,096 hashes, and that was changed to every 256.
  • Before 0.5.1, doing as the line "Now give the attacker 51% and press Enter again" said ran the 30% attack again.
  • One of the rules for writing a quest's lines: "If a ten-year-old would stop reading, rewrite it."
  • The screen writes coins 3 where you would expect 3 coins, so that no language has to make a plural agree.
  • The document that sets the rules for making quests says that where it and the code disagree, "the code is right and this document is a bug".
  • The third stage of the ledger quest is called "Change for a tenner" in English, a British way of asking for change for a 10-pound note. The Korean name is just the word for change.
  • The first day ran from the first commit at 08:14 UTC to version 0.4.0 at 17:26, about nine hours.

5.See also

6.References

  1. [1]The 2009 figure is worked out from Bitcoin's rules. The quest says so itself: "Nobody's computer was measured for it."
  2. [2]The setup is done once, at an event called a ceremony, and the method can be trusted only if the random number used there was destroyed afterwards. So there is a lot of talk about whether a given ceremony was carried out properly.