Signature primitive
to verify one signature on one thread: 3,943 per second.
- Sign
- 278.83 ms
- Key generation
- 27.32 ms
- Sign over verify
- about 1,100×
The asymmetry suits a ledger: a signature is made once and verified by every node.
A quantum computer can forge Bitcoin's signatures. Menhir replaces them with SLH-DSA, NIST's hash-based standard. Built and measured.
Bitcoin signs with an elliptic curve, and Shor's algorithm turns any public key into its private key. Menhir signs with SLH-DSA, the post-quantum standard NIST built from hash functions alone. Forging a Menhir signature means breaking SHA-2, the hash Bitcoin already depends on. One assumption instead of two.
On Menhir every output is post-quantum by consensus from the first block. There are no exposed coins to migrate and no elliptic-curve key anywhere on the chain.
A hash-based signature is 16,224 bytes. Schnorr's is 64. Nothing else about a payment changes, so nothing else about its cost does.
| Shape | Bytes | vB | WU | Per block |
|---|---|---|---|---|
| 1 input, 2 outputs | 16,421 | 4,208 | 16,832 | 237 measured |
| 2 inputs, 2 outputs | 32,744 | 8,320 | 33,278 | 120 arithmetic |
| 2-of-2 leaf, 2 outputs | 32,701 | 8,278 | 33,112 | 120 arithmetic |
| Taproot key path (computed) | n/a | 154 | 616 | 6,491 computed |
Phase 1 measurements
Every transaction below was signed, mined into a block on a private regtest chain and read back. Timings come from one loaded machine and are upper bounds for it.
to verify one signature on one thread: 3,943 per second.
The asymmetry suits a ledger: a signature is made once and verified by every node.
payments fit in one block of 4,000,000 weight units. We tried one more and the node rejected the block as too heavy (bad-blk-weight).
The two implementations share no code: the node's is written on Bitcoin Core's hash functions, OpenSSL's is its own.
A full block validates in 11.0 to 18.0 ms. A block built to abuse the signature budget took 5.75 s.
Tapscript charges 50 units per signature check, a price set for Schnorr. One hash-based signature pays for about 340 checks. Not fixed in the prototype: it has to be repriced before any public network.
per year at most, with every block full.
A node that drops signatures buried under enough proof-of-work would keep about one hundredth of the chain.
a94c192393.237 payments per block against about 6,491. Deploying this parameter set means choosing: the witness discount, the weight limit, smaller parameter sets, or aggregation.
At 253.59 µs per check a block could carry many times more signatures before validation neared one second. Bandwidth and storage bind first.
With 99.16 % of block bytes in witnesses, pruning buried witnesses changes the storage cost by two orders of magnitude. Its trust model is an open question.
The validation weight charge is the case found here. Dust thresholds and fee policies sized for 100 vB spends are next.
output OP_2 <32-byte merkle root> leaf 31 01 <48-byte key> ac witness [signature] [leaf] [control] bytes 16,224 51 1 control c1 key id 01 = SLH-DSA-SHA2-192s
Planned, not built yet
Menhir is meant to be held and traded like Bitcoin, not spent at a till. Its signatures are large, so the usual way to protect savings, several signatures on every spend, costs two or three times as much here. The planned answer is a vault: one signature, a waiting period, and a second key that can cancel.
Savings sit at an address whose rule is fixed: the coins can only leave toward a waiting period. Sending into the vault is an ordinary transfer.
You sign once with your everyday key. The coins wait in the open, for a delay you chose when you made the vault.
When the delay ends the coins reach your everyday wallet, and from there they move at once like any other.
During the waiting period a second key, kept offline, returns the coins to a safe address. A thief who holds the everyday key starts a withdrawal that you cancel.
A two-of-three multisig carries two signatures on every spend. The vault carries one on the normal path. Multisig stays available for approval by several people, which a vault does not replace.
The protection is time. Someone has to look at the chain during the delay, you or a service, and a thief who holds both keys still wins.
Your key now, and the key of an heir after a waiting time you set. The script rules already allow it. The wallet has to offer it.
Trade BTC for MNH with no exchange in the middle, through hash locks and time locks on both chains.
None of this exists yet. The vault depends on a hash covenant, a candidate of the capacity decision that has not been adopted.
13 of 35 features built, 4 in progress. No date is announced for mainnet.
Updated 28 November 2026.
FAQ
No. There is no network yet. What exists is a working node on a private test chain, and every figure on this page was measured on it. Anyone offering MNH today is offering something that does not exist.
No. An airdrop would have to check Bitcoin's elliptic-curve signatures inside the consensus rules, and that is the assumption Menhir removes. A quantum computer that forges a Bitcoin signature could claim those coins.
None is planned. The roadmap has a genesis block published with a proof that no coin existed before it. That is a plan, not something already done.
With SHA-256, by merged mining with Bitcoin: a Bitcoin miner secures Menhir with the same work, at almost no extra cost. A small miner takes part through a pool that does it. A computer or a graphics card cannot compete with SHA-256 hardware on any coin. Nothing can be mined until a network exists.
Lattice signatures are much smaller, and they rest on a second and newer mathematical problem. Menhir already depends on SHA-2 for mining and for every block and transaction. Hash-based signatures add no second assumption. The price is size: 16,224 bytes per signature.
Nobody can promise that about any system. Its signatures follow the NIST standard FIPS 205 and hold as long as SHA-2 holds. That is one assumption where other designs carry two, not a guarantee.
No. It is meant to be held and traded like Bitcoin. Each payment carries a large signature, so a block holds few of them.
Not from this project. A token on a chain that signs with elliptic curves would put the coins back under the assumption Menhir removes.
Not yet. The phase 1 report gives the method and the measurements printed on this page.
No Menhir network exists. There is no token and nothing is for sale. The source code is not public yet. Nothing on this site is an offer of any asset.