The Jevons preview 0.2

Ticker XJU - a unit of account for contracts, its value derived live from the Bitcoin Cash blockchain itself.

The Jevons' value, in Bitcoin Cash

1 XJU = ... BCH

1 BCH = ... XJU

In US dollars: drift from calibration

1 XJU = ... USD now

Calibrated to 1.0000 USD on 2026-11-19. The Jevons is not pegged to the dollar: it has floated since.

Block height
...
Block time
...
BCH/USD used
...
Last update
...

Recomputed every hour from Bitcoin Cash chain data. The same figures, as JSON: xju.json.

Version 0.2 is a preview. Versions 0.x may change. Version 1 - frozen, public and versioned, so that no later version ever alters its published series - follows.

What this is

The Jevons is a proposed unit of account for contracts: a unit any two parties to a contract can choose to denominate it in, when the units otherwise available suit them poorly. It honours the economist W. S. Jevons, who in 1875 counted money's role as a standard of deferred payment.

Its value is derived from data integral to the Bitcoin Cash (BCH) blockchain - each block's difficulty and its coinbase - by the formula below, published in full so that anyone can check it. An oracle carries outside data onto a chain; this is a reverse oracle: it carries the chain's own data out, to the world beyond it.

The why, and the thinking behind it, are in the project's README and in the booklet Cash Unbound. It is in real use in a shop window in Peel, Isle of Man: the shop's price display.

Why BCH's dollar price is in the formula

The chain's own figure for a block - its reward set against the work done to mine it - is a figure in BCH. Averaging that figure directly would be the simplest unit. It was measured first, and it does not hold steady.

Measured on Kallisti's published daily series from 15 November 2020 to 19 November 2026: when BCH's dollar price moved, the work per BCH of reward moved only about half as far, whether the span was a week (0.42 of the price's move), a month (0.49) or a year (0.52). Mining difficulty does not follow BCH's price one for one. So an average taken in BCH carries BCH's own price swings into the unit.

Version 0.2 therefore turns each block's figure into US dollars first, averages that over 200 weeks, and turns the result back into BCH at the current price. The dollar is used as the currently dominant unit of account, and BCH/USD is a stand-in: version 1 replaces it with an estimate drawn from the chain itself.

What that gives, measured over the same six years: the Jevons' dollar value moved by 1.8 per cent over 30 days and 15.6 per cent over a year (standard deviations), against 25.6 and 86.2 per cent for BCH itself. A 200-week average is smooth by construction, though, and what it averages is not fixed: over those years the Jevons' dollar value ranged from 1.00 to 1.74 times its calibration-day value, and it has fallen in dollars in each year since 2022.

The formula, version 0.2, in full

For each Bitcoin Cash block from height 478568 - the first block on or after 2017-08-02 UTC, the first day of the price series - in the order of its height:

  1. The block's work, in expected hashes, from the difficulty D that the header's nBits field stands for: W = D × 2^48 / 65535   (the same number as 2^256 / target)
  2. The block's time, the header's timestamp made strictly increasing. It is run from Bitcoin Cash's first block, height 478559, whose t is its own timestamp: t = max(timestamp, previous t + 1)
  3. The mining-efficiency curve at that time. Its constants are bitcoin cash autist's; its midpoint, 2029104000, is 20 April 2034, 00:00 UTC: eta(t) = 700 / (1 + exp(-8e-9 × (t - 2029104000)))
  4. The block's coinbase, in BCH: the outputs of its coinbase transaction, summed - the subsidy plus the fees: C = sum of the coinbase transaction's outputs
  5. The block's own figure: P = C × eta(t) / W
  6. That figure in US dollars, U being BCH/USD for the UTC day that t falls on: P × U
  7. The exponential moving average of that over 201600 blocks - 200 weeks of 10-minute blocks - begun at the first block's own figure: A = previous A + alpha × (P × U - previous A)    alpha = 2 / (201600 + 1)
  8. The Jevons' value in US dollars. K is one constant, chosen once so that 1 XJU was 1 US dollar at block 978094, the last block of 2026-11-19 UTC, and published to four significant figures: 1 XJU in USD = K × A    K = 2.528e16
  9. The Jevons' value in BCH, at the current BCH/USD: 1 XJU in BCH = K × A / (BCH/USD now)

Where BCH/USD comes from. Up to 2026-11-19: Kallisti's daily series, kept with the code as one file. After it: General Protocols' BCH/USD oracle, read at every hourly run; a UTC day's price is the last reading taken during that day, and a closed day is never revised. When that oracle cannot be read, Kraken's BCH/USD midpoint is taken and its source recorded.

The arithmetic is IEEE 754 double precision throughout; W is one division of two whole numbers, and C stays in whole satoshis until its one division.

Check it yourself

References and credits