> flopx verify

Don't trust. Verify.

Every run's raw offers are published and hashed. Every oracle transaction on Robinhood Chain carries a root over those hashes. Anyone can rebuild the on-chain prices from the raw data with the open code.

01 / How it works
  1. Every 5 minutes the collector stores the raw offers it used, as one JSON record: /v1/raw, /v1/raw/{ts}. Its SHA-256 is fixed at that moment.
  2. Each oracle push (on a 2% move, at least hourly) appends a root to its transaction input: SHA-256 over the lines ts:hash of every run since the previous push. The contract ignores those bytes; the chain keeps them forever.
  3. To check: read the root from the transaction, hash the list of runs, hash each raw run, recompute the index of the pushed run (median per provider, one-hour smoothing, median of providers) and compare with the prices the same transaction wrote.
git clone https://github.com/flopx-xyz/flopx && cd flopx && npm install
node scripts/verify.mjs            # latest anchored push
node scripts/verify.mjs 0x<tx>     # any oracle transaction

Tail of the transaction input: "FLPX" 0x01, root (32 bytes), first run (uint64, unix ms), last run (uint64, unix ms). Raw runs are kept 90 days; anyone can mirror them. Anchoring started with method v2; a run in the first hour after that has no raw history for smoothing and will not recompute exactly.

02 / Latest anchors on Robinhood Chain
RunsFromToRootTransaction
Loading…

Data: /v1/anchors. Oracle contract: docs.