PoC || hashblcksissue 0x00 · live on 4663 Robinhood Chain 4663

10,000 blocks on Robinhood Chain. Mine the next one for free with your phone, or buy it from the curve. Every purchase from the curve pays everyone who holds a block.

[!] live on Robinhood Chain 4663. The collection is 0x2528719c649040ee7ddC85bd6E0392049D998494, its source verified on Sourcify, exact match. No owner: nothing on this page can change. Addresses in 0x09.
 

--[0x00]--[readme]

hashblcks is one ERC-721 collection that grows like a chain: every block is issued at the tip, one after another, by one of two routes.

minefind a nonce with your phone. costs gas, nothing else. -> a POW block buypay the curve. the price follows the depth. -> a BUY block

Every purchase from the curve is split the moment it lands: 65% to the holders of bought blocks, 15% to the holders of mined blocks, 20% to the author. Mining moves no ETH. Trades on the market pay a 5% royalty to the author.

[tl;dr]
10,000 blocks, #0000 to #9999. then it's over.
mine free: phones to #3100, the wall to #4000, GPUs after.
buy: Ξ0.001 for the first hour, then 0.001 · 2^(n/2048).
every buy pays holders 65 / 15 and the author 20.
1 in 16 blocks is x2, 1 in 256 x5, 1 in 4096 x25.
no owner. no pause. no premine.

The scene is where you mine, buy and claim; this page is where the rules live. After deploy nobody can change them, because nobody owns the contract (0x08).

--[0x01]--[the block]

There are 10,000 blocks, #0000 to #9999. The depth n is how many are out, by either route. The next block is #n.

+------+   +------+   +------+   +------+          +------+   +------+
| 0000 |===| 0001 |===| 0002 |===| 0003 |==  ..  ==| n-1  |===|  n   |
| POW  |   | POW  |   | BUY  |   | POW  |          | BUY  |   |  ?   |
+------+   +------+   +------+   +------+          +------+   +------+
                                                     mine it or buy it
+------+   +------+          +------+   +------+
| 0000 |===| 0001 |==  ..  ==| n-1  |===|  n   |
| POW  |   | BUY  |          | BUY  |   |  ?   |
+------+   +------+          +------+   +------+
                               mine it or buy it
  • Two routes, one tip. #n can be mined or bought. Whichever transaction lands first takes it; the other route moves on to #n+1.
  • A chain. Each block's hash covers the hash of the block before it (0x02).
  • What a block carries: its id, its route (POW or BUY), its hash, the work it took if mined, its weight in the pool (x1, x2, x5 or x25, 0x05) and its own pool balance (0x04).
  • Batches. Buy up to 100 blocks in one transaction (x1, x10, x100 on the scene).
  • Mint-out. After #9999 nothing more is mined or bought. The pool stops filling, whatever sits on the blocks stays claimable, trading goes on.

--[0x02]--[the work]

A mined block is a nonce that makes this hash small enough:

tiphash of block #n-1 block #0000: made of the hash of the deploy block itself hkeccak256("hblcks", tip, nonce, you) packed; you: the address that sends the transaction validh < 2^(256 - bits(n)) about bits(n) leading zero bits tries2^bits(n) on average

Your address is inside the hash, so a nonce copied from someone else's transaction is worth nothing to the copier. A proof is good for one tip: if another block lands first, your transaction reverts (you lose its gas) and the miner goes on from the new tip. No progress is lost, since every try is a fresh ticket. Block #0000 builds on the hash of the deploy block, which exists only once that block has closed: nothing can be mined or bought ahead of it, not even by whoever deploys.

The work bits(n) runs through four points, straight in bits between them:

#00002^22.0a phone: 2 seconds #31002^28.8 a phone: 4 minutes. the end of the phone zone #4000 2^38.0a phone: 38 hours. the top of the wall #99992^44.0one RTX 4090: 1.6 hours
 2^44 +                                                  ******
      +                                       ***********
      +                            ***********
 2^38 +                      #*****
      +                     #|
      +                    #||
      +                   #|||
      +                  #||||
 2^29 +             .....|||||
      +        .....:::::|||||
      +   .....::::::::::|||||
 2^22 +...:::::::::::::::|||||
      +--------------------------------------------------------
       0                3100 4000                          9999
       depth n    . phones    # the wall    * GPUs
blockworkphonelaptopRTX 4090
#00002^22.02 s<1 s<1 s
#10002^24.210 s3 s<1 s
#20002^26.444 s15 s<1 s
#30002^28.63 min68 s<1 s
#31002^28.84 min79 s<1 s
#33002^30.916 min5 min<1 s
#35002^32.967 min22 min3 s
#40002^38.038 h13 h2 min
#50002^39.03 days25 h3 min
#70002^41.013 days4 days12 min
#99992^44.0102 days34 days1.6 h

A phone in the browser at 2 MH/s, a laptop on WASM at 6 MH/s, one RTX 4090 at 3 GH/s.

  • Phones first. Up to #3100 a phone in the browser mines a block in seconds to minutes. At the open the scene's miner runs on WASM only, so no desktop gets a GPU in the browser. The author publishes no GPU miner.
  • The wall. From #3100 to #4000 the work climbs 2^9 in 900 blocks. A phone that mined #3000 in three minutes would need 38 hours for #4000. Past this point a phone waits for hours, and the curve is one click away.
  • After the wall. The last blocks take one RTX 4090 about 1.6 hours and some $0.06 of power each. The whole collection is 2.5·1016 hashes, about 97 days of one RTX 4090.
  • Free. Mining sends no ETH to the contract. You pay the gas of one transaction.

--[0x03]--[the price]

genesis hourP = Ξ0.001 at any depth the first 60 minutes from the open after thatP(n) = 0.001 · 2^(n / 2048) ETH n: the depth when your transaction lands

The price follows the depth, and the depth counts both routes: every mined block makes the next purchase dearer. It doubles every 2048 blocks, from Ξ0.001 to Ξ0.0295 for #9999.

 0.0295 +                                                     ***
        +                                               ******. .
  0.016 +                                          ***** . . . .
        +                                    ****** . . . . . . .
  0.008 +                               *****. . . . . . . . . .
        +                         ******. . . . . . . . . . . . .
  0.004 +                    ***** . . . . . . . . . . . . . . .
        +              ****** . . . . . . . . . . . . . . . . . .
  0.002 +         *****. . . . . . . . . . . . . . . . . . . . .
        +   ******. . . . . . . . . . . . . . . . . . . . . . . .
  0.001 +*** . . . . . . . . . . . . . . . . . . . . . . . . . .
        +--------------------------------------------------------
         0          2048        4096       6144       8192   9999
         depth n    ETH per block, doubling every 2048
blockΞ$ at ETH = $2,689
genesis hour0.00100$2.69
#10000.00140$3.77
#20480.00200$5.38
#31000.00286$7.68
#40000.00387$10.41
#40960.00400$10.76
#61440.00800$21.51
#81920.01600$43.02
#99990.02949$79.31
  • The genesis hour. The open is the deploy block. For 60 minutes after it every block from the curve costs Ξ0.001, whatever the depth. At 60:00 the price jumps to the curve at the depth reached: at #3000 the next block costs Ξ0.00276. The scene counts down to it.
  • Batches. The blocks of a batch are charged one by one, each at its own depth, so after the genesis hour the price climbs inside the batch: x100 costs about 1.7% more than 100 times the first block. Send what the scene quotes; the change comes back in the same transaction. If the depth moved past what you sent, the transaction reverts and you lose only gas.
  • The curve only sells. There is no buyback. You sell a block on the market (0x07).

--[0x04]--[the pool]

                     buy #n for Ξ p
                           |
       +-------------------+-------------------+
       |                   |                   |
     65% p               15% p               20% p
       |                   |                   |
 [ BUY vault ]       [ POW vault ]         [ author ]
 every bought        every mined           treasury fixed
 block, by weight    block, by weight      at deploy
         buy #n for Ξ p
                |
     +----------+----------+
     |          |          |
   65% p      15% p      20% p
     |          |          |
  [ BUY ]    [ POW ]  [ author ]
  bought      mined    treasury
 by weight  by weight

Every purchase from the curve is split the moment it lands. Each vault pays by weight across the blocks of its route that exist at that moment; the block being bought joins right after.

on a purchase at price p: accBUY+= 0.65 · p / WBUY WBUY: total weight of bought blocks accPOW+= 0.15 · p / WPOW WPOW: total weight of mined blocks author+= 0.20 · p a block of weight w (1 until sealed) that joined its vault at acc0 has earned: earned= w · (acc - acc0) - claimed

So a plain bought block gets 0.65 / WBUY of every later purchase, a plain mined block 0.15 / WPOW:

in the vault1001,0005,000
bought x1 gets0.65%0.065%0.013%
mined x1 gets0.15%0.015%0.003%
  • The balance sits on the block, not on the wallet. Sell the block and its unclaimed balance goes with it. Claim before you list.
  • Claim any time, for all your blocks in one transaction. It pays whoever holds the block.
  • Early blocks split each purchase with fewer blocks, so they earn more per purchase.
  • A batch is split block by block: the first blocks of your batch already earn from the later ones.
  • The edge case. The very first purchase finds no bought block to pay, so its 65% goes to the author (Ξ0.00065). The same goes for the 15% of any purchase made before the first mined block exists.
  • Mint-out. No more purchases, so no more pool income. Balances stay claimable forever.
  • To the wei. The accumulators are fixed point. Rounding dust, a few wei, stays in the contract: the balances plus the author's share never add up to more than came in.

--[0x05]--[lucky blocks]

Every block, mined or bought, draws a weight once, from a hash nobody can see when they sign:

Hhash of the Robinhood Chain block your mint landed in rkeccak256(H, id) mod 4096
rwoddscolour
0x251 in 4096gold
1..16x51 in 256white
17..272x21 in 16cyan
273..4095x1the rest green or amber
#1234 POW x2 · sample
#0777 BUY x5 · sample
#2048 POW x25 · sample
  • Money, not just looks. The weight multiplies the block's share of its vault: a x25 bought block takes 25 shares of the 65% of every later purchase, a x25 mined block 25 shares of the 15%.
  • Sealing. H does not exist yet when you sign, so you cannot pick it. The next call on the collection seals the blocks before it (a purchase does it before it splits, so a lucky block is paid by weight on that very batch), reading H from the chain's block hash history (EIP-2935, about 11 hours back), and anyone can call seal(). A block nobody sealed within that window keeps x1 for good: waiting can only lose a lucky draw, never buy a second one. In a busy sale that takes seconds; after hours of silence the scene offers the seal to the holder of a lucky block.
  • Trust. Only the chain's sequencer, or someone who can predict the whole chain block their transaction lands in (a lone transaction in a quiet block), could steer H. That is the trust you already give the chain.
  • Per block, not per wallet. Most mined blocks will come from GPUs, and so will most lucky mined ones.
  • Over 10,000 blocks expect about 625 x2, 39 x5 and 2.4 x25; the chance of at least one x25 is 91%. The mean weight is 1.084, so a plain block gets 8% less than with no lucky blocks at all, and the lucky ones get the rest.

One roll of all 10,000 blocks with the real odds, drawn in your browser. Every cell is a block, #0000 at the top left, #9999 at the bottom right.

 

 

--[0x06]--[the art]

Each block is an ASCII cube, 80 × 48 characters, spinning in 2.5D and seen from above, one turn every 18 seconds, in front of a rain of hex. It is built from the block itself:

top, bottomthe hash in hex, 16 × 16 front, backthe same 256 bits in binary left, rightthe hex again, through dots rainthe hash, falling labels #id, POW or BUY, xN, the hash with its leading zeros lit, the work bits or COIN colour green mined, amber bought, cyan x2, white x5, gold x25 lucky x2 two cubes in orbit, x5 four satellites, x25 a cube of 25 cubes; x5 and x25 glitch now and then
#4000 POW 2^38 · sample
#6144 BUY · sample

On chain. tokenURI returns the metadata with a still SVG frame as the image, drawn with larger glyphs for the collection grid, and the live cube as animation_url: one HTML file with about 16 KB of JavaScript and no outside requests. It is the same code that runs on this page, stored on the chain byte for byte, and the still frame is the moment the live cube starts from, on a 40 × 24 grid. The samples here use made-up hashes of the right shape; a real block draws its own.

--[0x07]--[the market]

  • Blocks trade on OpenSea like any ERC-721 on Robinhood Chain. A mined block can be listed the minute it is out.
  • Royalty 5% (ERC-2981) to the author's treasury, enforced with ERC721-C. The transfer rules are set once at deploy and nobody can change them.
  • The scene shows the curve price next to the OpenSea floor. When the floor is above the curve, the curve is the cheaper block and 65% of what you pay goes to holders. When the floor is below, the market is cheaper.
  • A block bought on the market comes with whatever it has earned and not claimed (0x04).

--[0x08]--[no keys]

ownernone admin keynone pausenone upgradenone, no proxy premine none: #0000 builds on the deploy block's own hash, unknown until it closes presalenone allowlistnone

The author pays the deploy gas and gets what the rules give: 20% of curve purchases and the 5% royalty, to a treasury address fixed at deploy. Anyone can push the author's share to it; nobody can send it anywhere else.

No keys also means no fixes: a bug cannot be patched after deploy. That is why the contract ships only after a full run on the testnet (46630) and an audit.

--[0x09]--[the contract]

chain Robinhood Chain 4663rehearsal on testnet 46630 collection0x2528719c649040ee7ddC85bd6E0392049D998494 art0x5A4B7E69250C61548581f8479e1B7E1B0e462d77 sourceSourcify, exact match openthe deploy block; the first block from the next chain block

One contract is the whole machine, and the scene is its control panel: every object on it is a call, under the contract's own names; the behaviour is the spec above.

+--[HUD]  depth()  openedAt() ------------------------------------------+
|                                                                       |
|  [TAPE]            .----------.         [BUY]   buy(qty)              |
|   Mined  Bought    |   cube   |                 price()  quote(qty)   |
|   Sealed Claimed   |  tip()   |                                       |
|   Paid             | target() |         [POOL]  vaults()              |
|                    '----------'                                       |
|                 [MINE] mine(nonce)      [YOURS] claim(ids)            |
|                                                 earned(id)            |
|                                                                       |
|  [CHAIN] blockOf(id)  tokenURI(id)      ===#0417==#0418==#0419===     |
+-----------------------------------------------------------------------+
   no button:  [SEAL] seal(id)    [TREASURY] payTreasury()
+--[HUD] depth() openedAt() ---------------+
|                                          |
|      .----------.                        |
|      |   cube   |   tip()                |
|      '----------'   target()             |
|      [MINE] mine(nonce)                  |
|                                          |
| [BUY]   buy(qty)                         |
|         price()  quote(qty)              |
| [POOL]  vaults()                         |
| [YOURS] claim(ids)  earned(id)           |
| [CHAIN] blockOf(id)  tokenURI(id)        |
| [TAPE]  Mined Bought Sealed              |
|         Claimed Paid                     |
|                                          |
+------------------------------------------+
 no button: [SEAL] seal(id)
            [TREASURY] payTreasury()
[MINE] mine(uint256 nonce)

The rig. Your hash is keccak256("hblcks", tip, nonce, you): below target() and block #depth is yours. Somebody landed first? The tip moved, the call reverts, mine on from the new one.

tip() the hash of the last block, the one you build on. target() the number your hash must fall below. depth() blocks out so far, the next one is #depth.
[BUY] buy(uint256 qty) payable

The booth. 1 to 100 blocks from the curve, each charged at its own depth and split into the vaults as it lands. Send quote(qty) and the change comes back in the same call. If the depth ran past what you sent, it reverts; near the end it sells what is left and refunds the rest.

price() wei for the next block right now: Ξ0.001 in the genesis hour, then the curve. quote(uint256 qty) wei for a batch right now.
[POOL] vaults()

The bars. What came into the BUY vault, the POW vault and the author's share so far, and the weights WBUY and WPOW they split over.

[YOURS] claim(uint256[] ids)

Pays you what your blocks have earned, all in one call. Until then it sits on each block and moves with it when the block is sold.

earned(uint256 id) wei waiting on one block.
[CHAIN] blockOf(uint256 id)

One block the way the scene draws it: route, hash, work bits, weight and balance. tokenURI(id) is its art (0x06).

[HUD] depth(), openedAt()

The depth bar and the clock. The genesis hour runs from openedAt() to openedAt() + 3600.

[SEAL] seal(uint256 id)

No button on the scene while it sells: every call seals the ready blocks before it. Fixes a block's weight from the hash of its chain block, or at x1 once that hash is gone (0x05). Anyone may call it; it returns the weight.

weightOf(uint256 id) 1, 2, 5 or 25; 1 until sealed. drawBlockOf(uint256 id) the chain block it draws from.
[TREASURY] payTreasury()

No button either. Sends the author's waiting share to the treasury fixed at deploy. Anyone may call it; the money can go nowhere else.

treasury() the address. authorOwed() wei waiting for it.

The tape. Every line on the scene's tape is read from the chain:

on the tapefrom the chain
OPENgenesis: Ξ0.00100 for 60 minOpened(deployBlock), then Seeded(seed)
BUY#0418..0427 for Ξ0.0100Bought(id, buyer, price), one per block
YOURS#3000 mined, 2^28.6Mined(id, miner, hash)
LUCKY#1234 x2Sealed(id, weight)
CLAIMΞ0.00210Claimed(holder, amount)
GENESISover, curve Ξ0.00276openedAt() + 3600
WALL2^38 by #4000depth() past 3100
MINTED OUTat 3:06:12the Mined or Bought of #9999
SOLD#0412 $0.04 -> $6.10Transfer and the market's own sale event

Paid(amount) marks each payTreasury(). The rest is the standard kit: ERC-721 transfers and approvals, ERC-2981 royaltyInfo (5% to the treasury), ERC721-C getTransferValidator (fixed at deploy).

Before it ships it gets fuzzed: the pool to the wei, the work and the price against the tables on this page, sealing and the history window, batches across the end of the genesis hour, the mint-out. An independent audit found no way to take more than is owed, and its tests now run with ours.

--[0x0a]--[numbers]

supply10,000 blocks, #0000 to #9999
chainRobinhood Chain 4663
work2^22 at #0000, 2^28.82 at #3100, 2^38 at #4000, 2^44 at #9999
all the work2.5·1016 hashes
genesis hour60 minutes from the open, Ξ0.001 a block
curve0.001 · 2^(n / 2048) ETH, Ξ0.0295 ($79) for #9999
batchup to 100 blocks
pool65% bought blocks, 15% mined blocks, 20% author
royalty5%, ERC-2981 through ERC721-C
lucky1/16 x2, 1/256 x5, 1/4096 x25, mean weight 1.084
ownernone
PoC || hashblcks · issue 0x00 · live on 4663. The contract is the text: where this page and the contract disagree, the contract wins.