Dev.to WebDev ๐Ÿ›  Dev ๐Ÿ‘ 0 ๐Ÿ“– 4 min read

I retracted my own headline: tokenised-stock supply doesn't show inflow until the chain agrees

I'm retracting my own headline: "tokenised stock supply is up, so money is flowing in" is a claim you can't make from the number alone. Here is what it took to say something checkable instead. Live: https://netmint.edyc

I retracted my own headline: tokenised-stock supply doesn't show inflow until the chain agrees

I'm retracting my own headline: "tokenised stock supply is up, so money is flowing in" is a claim you can't make from the number alone. Here is what it took to say something checkable instead.

Live: https://netmint.edycu.dev ยท Code: https://github.com/edycutjong/netmint ยท Demo video (2:45): https://youtu.be/pdAQCRNSXoA

NetMint on the live site: the judge link opens the pinned NVDAB 30-day lookup, REAL INFLOW vs NOT VERIFIABLE, then the receipts

The question

CoinMarketCap lists tokenised stocks (NVIDIA, AMD and others wrapped as tokens on BNB Chain, Ethereum, Solana) with a daily circulating supply. Issuers mint tokens when someone creates them and burn them on redemption, so that supply series is a public trace of the primary market. An ETF flow table shows creations and redemptions in dollars. CMC shows the supply, but not the dollars created or redeemed.

So I built NetMint: it turns the daily supply history into net creation and redemption in USD per wrapper, and stamps one verdict.

On 2026-11-21 the case that made me stop and re-check was NVDAB (bStocks, BNB Chain). Over 30 days (2026-10-22 to 2026-11-21) CMC's supply went ร—7.1 while the price fell 41%. That is +$202.83M of net creation at market price. Impressive, and also exactly the kind of number that can be an artefact.

Wall 1: my first wording was wrong

My first draft called this "inflow from holders". To check it I sampled the mint on the largest step days. Every sampled mint is an ERC-20 Transfer from the zero address, and all 7 mints I sampled went to the same recipient. That is issuer-level creation. It says nothing about who bought. The app now says "net creation", the way an ETF flow table counts creations, and the verdict subline reads "issuer-level net creation, not buyer data".

Wall 2: CMC's supply is a sum over chains

The first chain check read totalSupply() on one chain and compared it with CMC. On NVDAon the BNB Chain leg alone showed 44% of CMC's supply, which looked like a data error. It wasn't: CMC's figure is the sum across chains. So the check sums every readable leg at the day boundaries (BNB Chain and Ethereum), and when most of a wrapper's supply sits on a chain with no historical supply source, the honest answer is not a verdict.

Result for NVDAB: CMC's supply rose +1,209,739 units, the chain's totalSupply rose +1,216,792, which is +0.6% apart against a ยฑ10% tolerance. The 5 largest step days matched too.

Wall 3: an API that scales your history

/v2/cryptocurrency/quotes/historical with convert=<fiat> multiplies circulating_supply by the exchange rate and scales percent_change_24h the same way, while quotes/latest with convert=IDR is correct. The raw bodies are in the repo under docs/proof/spike/convert-bug/. NetMint asks in USD only.

The verdict is fixed code

No model decides it. The precedence is a plain function:

// lib/flow/verdict.ts (excerpt)
// 5. directional verdicts
return metrics.net > 0
  ? { verdict: 'REAL_INFLOW', reason: mint.reason }
  : { verdict: 'OUTFLOW', reason: mint.reason };

and it is only reachable after the chain check passed. The label stays REAL INFLOW because it means verified net creation at issuer level, which the subline spells out; it never claims who bought. An invariant test asserts that REAL INFLOW or OUTFLOW implies a passing mint check. The other outcomes:

  • RECOUNT: CMC's supply moved and the chain did not.
  • NOT VERIFIABLE: the move may sit on a chain nobody reads (Solana, Arbitrum, Base), or the check cannot certify it.
  • FLAT: below the materiality threshold, not put to trial.

NVDAX, a Backed/xStocks NVIDIA wrapper whose CMC supply rose ร—3.98 over the same 30 days, comes out NOT VERIFIABLE: chain coverage 14.5% of CMC's total supply, with the rest on chains NetMint cannot read (Solana and others). Refusing is a feature.

What the numbers look like

Over 30 days on the top 20 underlyings (152 wrappers) the checks verified 6 REAL INFLOW and 3 OUTFLOW, flagged 12 RECOUNT and returned NOT VERIFIABLE for 107. One live lookup (NVDA, 30 days) is 5 CMC calls and 7 credits: p50 2.0 s, p95 2.6 s over 20 runs. 201 tests pass, and npm run verify:flows re-derives 304 leaderboard rows from the stored CMC bodies with 0 differences. The receipt drawer in the app shows every CMC call verbatim: endpoint, parameters, UTC time, credit cost, raw JSON.

Reproduce it without trusting me

Everything above is read-only: no wallet, no transactions from me. Clone the repo, put a CMC key in .env.local, and run npm run demo -- NVDA. It makes 5 calls (7 credits, about 2 seconds) and prints the verdict with its proving rows: the CMC step, the chain step, and the mint transaction on BNB Chain (0xa239f8886f2b7a4a61daa2787b0b53e58715c2c0dcd8d8f4ef84c8dfea15266c). If you don't have a key, npm run verify:flows replays the committed CMC bodies from 2026-11-21 offline and has to match the leaderboard row for row. And npm run verify:offline unplugs the network and must fail with a transport error, not print a verdict, so a stale cache can't pass for a live check.

The window moves. The figures in this post are dated 2026-11-21; a fresh run will print a different hero number, and that is the point of printing the window and capture time beside every figure.

Honest limits

  • The window sat inside a market stress period; read ร—7.1 as a measurement of that window, not a trend.
  • Dollars are at CMC's market price, not money that changed hands.
  • Circulating supply has no per-chain split, so wrappers on unread chains stay NOT VERIFIABLE.
  • It is not investment advice.

Try it: type a ticker at https://netmint.edycu.dev and open the receipt drawer. Source and evidence: https://github.com/edycutjong/netmint

Built for CoinMarketCap's Build with CMC: API Hackathon, Round 2 (Real World Assets track): DoraHacks BUIDL ยท demo video.

๐Ÿ“ฐ Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes โ€” full credit and traffic to the original publisher.