Bitcoin Forum
November 23, 2026, 12:50:20 AM *
News: Latest Bitcoin Core release: 32.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [ANN] Midstate (MDS) — post-quantum proof-of-work coin (WOTS/MSS, Midstate Walk)  (Read 17 times)
MidstateFanClub (OP)
Newbie
*
Offline

Activity: 2
Merit: 0


View Profile
November 22, 2026, 10:30:52 AM
 #1

Midstate (MDS)
A peer-to-peer proof-of-work coin with hash-based post-quantum signatures and Midstate Walk mining.

This introduction is from the Midstate Fan Club, an independent fan community. It is not written by the Midstate developers. Midstate and its companion chain Midwimble are maintained by Wei Z under the MidstateLabs GitHub organization.

Status and links
The chain is live. Midstate Walk has been the proof of work since block 371,500. The current release is v6.5.1 (18 November 2026 UTC). A later soft fork, coinbase maturity, is set for block 400,000.


Licence: GPL-3.0. 60-second blocks, ASERT difficulty.

Hash-based signatures: WOTS and MSS
Midstate does not use elliptic-curve signatures. Ownership is hash-based (BLAKE3):

  • WOTS (Winternitz one-time signatures) for ordinary receive addresses. A WOTS address is single-use. Spending it a second time exposes the key. The wallet will pull sibling coins at the same address into one transaction so they share one signature.
  • MSS (Merkle signature scheme) wraps many WOTS keys under one Merkle root, so the same address can be paid many times. Pool payouts must use an MSS address. A one-time WOTS address cannot safely take repeated pool payments: later coins sent to it become unspendable.

Create a pool address with midstate wallet generate-mss, not wallet receive.

Midstate Walk proof of work
From block 371,500 the proof of work is Midstate Walk: a dependent walk over a 256 KiB scratchpad, with data-dependent 64-bit multiply, divide and AES-round operations. It is designed to run well on CPU cores (a Raspberry Pi 5 included). Blocks below 371,500 keep the earlier 1,000,000-step BLAKE3 chain, so syncing from genesis still works.

It is still hashing, so it is as post-quantum as the previous proof of work. Nodes need v6.2.0 or later to follow the Walk chain. Miners should be on v6.5.1: that release speeds up CPU mining and correctly mines Walk on NVIDIA GPUs through CUDA.

midstate bench-pow measures a machine. Do not call Walk "ASIC-proof" or "GPU-proof"; it is a CPU-friendly hash-based proof of work.

How payments work
  • Power-of-two denominations. Every coin on chain is a power of two. The wallet splits and combines amounts for you.
  • Commit-then-reveal. A transaction is announced first as a sealed commitment, then revealed. The commit carries no fee and a small anti-spam proof of work.
  • HD wallets. 24-word recovery phrases. Write them down. Anyone who sees them can spend the coins.

Names (MSN-1): buying a name burns MDS
Midstate names end in .mds (up to 32 characters). A name holds typed records: an MDS payout address or key, a Midwimble mw1 address, a Base account, and a short text line. You can pay alice.mds instead of a 32-byte address, and the same name can point at both MDS and Midwimble addresses.

Names are bought and renewed by the year, for 1 to 10 years (a year is 525,600 blocks). That cost is burned. Each year burns DataBurn outputs worth at least the name's tier rate, paid to the all-zero burn address. Those coins leave the UTXO set and cannot be spent again. Nothing is paid to a developer, a registrar or a company.

Tiers are fixed for the life of the name:

TierBurned per yearTypical names
Platinum64 gMDS1–2 characters, and a fixed list of short or well-known words
Gold8 gMDS3 characters, and a further fixed list
Silver1 gMDS4 characters, and a further fixed list
Bronze⅛ gMDS5 characters or more

(1 gMDS = 230 base units.) A name can be sold or transferred with an on-chain deal. The desktop wallet has a Names page, including auto-renew. MSN-1 is built from existing v6 opcodes; it did not need a fork. Code and rules: src/core/names.rs, docs/MSN-1.md in the Midstate tree.

Multisig, plans and script
MidstateScript can lock coins under covenants. The node compiles 2-of-2 and 2-of-3 multisig. The desktop wallet ships inheritance plans and payment streams: two on-chain covenants that run between wallets, with no server in the middle. A name's MDS address record can point at a multisig, a plan, or any other scripted address, so a .mds name can pay into those locks.

Chat
Midstate has a peer-to-peer chat bus in the desktop wallet and node. Message text is not free-form: every word is an index into a fixed 256-word dictionary (NoArbitraryText in src/chat.rs). Each message needs its own proof of work, and may carry up to four attachments. The same bus is how the desktop wallet advertises atomic-swap orders.

Desktop wallet swap market
The desktop wallet (not the browser wallet) has a Trade tab for atomic swaps, wallet to wallet:

  • MDS for Midwimble (MDW). Orders live on the chat bus while the maker's wallet is online. Midstate uses a hash lock; Midwimble releases the secret through an adaptor signature. Either both sides are paid, or both get their coins back. No consensus change on either chain.
  • MDS for ETH on Base. The same tab, against the MidstateAtomicSwap contract. Both legs pay, or both refund.

Keep the app open while a swap runs.

Mining
Solo: midstate node --mine, or mine from the desktop or browser wallet.

Pool, including Midwimble merge-mining, with no Midwimble bond required of the miner:

Code:
./midstate miner --pool-url stratum+tcp://rpc.cypherpunk.gold:3333 --payout-address <YOUR_WALLET_ADDRESS> --midwimble-address <YOUR_MW1_ADDRESS>

Use an MSS Midstate address for --payout-address. --midwimble-address is a Midwimble address starting mw1. Leave that flag off and you still mine Midstate; the pool keeps the Midwimble share. The miner needs no Midstate full node behind it, and serves a local dashboard at http://127.0.0.1:8546/axe.

Honest limits
  • Reuse a WOTS address and the private key is exposed. Use MSS for anything paid more than once.
  • Midstate Walk is newer than older CPU proofs of work. It is hash-based, not a claim that specialised hardware cannot exist.
  • Midwimble, the privacy companion, is not post-quantum today (Pedersen commitments and Schnorr signatures). That is covered in the Midwimble thread.

Questions: Discord or this thread. We will write more explainers on midstatewalk.substack.com as we go.

— Midstate Fan Club
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!