TapeFoundry Docs
Docs menu

Verification

Every claim in this documentation maps to a contract read. Nothing needs to be taken on trust.

Check a card in the browser

The verify page takes a processor address and a circuit id, reads the netlist from a public BNB Chain node, hashes it in your browser, and compares the result with the registered drawing. The processor address is part of the check, so a copy on another foundry fails it.

The reads behind the claims

ClaimCallReturns
The netlist is realnetlist(id) on the processorABI-encoded bytes
The card is from this foundryprocessor address comparisonmatch / no match
It burned N gatescircuitInfo(id)nIn, nOut, state, gates
Its edition is n of capeditionOf(cpu, id)epoch, drawing, number
The cap is enforcedclaim past the maximumrevert
The unit price is fixedmintPrice() on parts23,400,000,000,000 wei
The wrapper knows the registryregistry() on the wrapperregistry address

Do it yourself

curl -s https://bsc-dataseed.binance.org \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_call","params":[{
        "to":"0x5a4eaff589c9e410260a61d658a893876710ba83",
        "data":"0x3fc4be560000000000000000000000000000000000000000000000000000000000000001"
      },"latest"]}'

The selector 0x3fc4be56 is netlist(uint256); the word after it is the circuit id. The result is ABI-encoded: offset, length, then the bytes.

Reading an edition

editionOf(address cpu, uint256 circuitId)
→ (uint16 epoch, uint8 drawingId, uint16 number)

# epoch 1, drawing 5, number 6 = the sixth ADD4 of this foundry

What the chain proves

It proves what was burned, minted and numbered — the physical facts of each card. Those facts are enough to check the price, the scarcity and the edition without trusting the foundry.

Three checks worth doing once

  1. Hash the netlist yourself and compare it with the published drawing.
  2. Read circuitInfo and confirm the gate count matches the price you paid.
  3. Read editionOf and confirm the number is the one shown in the marketplace metadata.