PranaNet
← bkc-sim-02.sim.prananet.eth

Reading #479

211Poor

bkc-sim-02.sim.prananet.eth · cell te7u6n · 7/11/2026, 02:39:00 IST · simulated device

PM2.5
93.2 µg/m³
PM10
180.0 µg/m³
Temperature
29.8 °C
Humidity
61.4 %
Entity key
0x5f139304c42198392deed46e0689d9d144d7c59f51a991780b11579bce7c8e17
Written by (relayer wallet)
0x3a1f21f1c6f05efa35bb7178274b41c8873cca67
Expires
10/11/2026, 02:40:41 IST (3 days after the reading)
Queryable attributes
device = 0x83161be053d4d23dc940dcfc94fcf0ba39582c44ens = bkc-sim-02.sim.prananet.ethgeohash = te7u6nepoch = 1793999340nonce = 479pm25_x10 = 932pm10_x10 = 1800simulated = true
Query that finds this record
from("prananet.reading").where(device = 0x83161be053d4d23dc940dcfc94fcf0ba39582c44 && nonce = 479).ownedBy(0x3a1f21f1c6f05efa35bb7178274b41c8873cca67)

Check it yourself

Your browser just repeated the check the Readings contract does on-chain. The relayer only pays gas: changing any value would break the signature.

  1. ✓
    Step 1

    Rebuild the 264-byte message

    #FieldTypeBytesValuePacked hex
    1deviceaddress200x83161be053d4d23dc940dcfc94fcf0ba39582c440x83161be053d4d23dc940dcfc94fcf0ba39582c44
    2epochuint2563217939993400x000000000000000000000000000000000000000000000000000000006aee41ec
    3pm25_x10uint256329320x00000000000000000000000000000000000000000000000000000000000003a4
    4pm10_x10uint2563218000x0000000000000000000000000000000000000000000000000000000000000708
    5temp_x10int256322980x000000000000000000000000000000000000000000000000000000000000012a
    6hum_x10uint256326140x0000000000000000000000000000000000000000000000000000000000000266
    7nonceuint256324790x00000000000000000000000000000000000000000000000000000000000001df
    8chainIduint25632111551110x0000000000000000000000000000000000000000000000000000000000aa36a7
    9readingsContractaddress200x9192Fc053e1493EB2B7355192aa3F8e57AAE01d80x9192fc053e1493eb2b7355192aa3f8e57aae01d8

    abi.encodePacked, no padding between fields. chainId and contract stop replay on other chains. Total: 264 bytes.

  2. …
    Step 2

    Hash it with keccak256

    …
  3. …
    Step 3

    Recover the signer from the EIP-191 signature

    r 0x
    s 0x
    v NaN
    recovered …
  4. …
    Step 4

    Compare with the registered device key

  5. ✓
    Step 5

    Nonce strictly increases

    Nonce 479 follows #478, so this reading can't be replayed.
  6. ✓
    Step 6

    Cross-checked against neighbours

    Not flagged. The value agrees with neighbouring devices within the verifier's threshold.

Raw reading JSON
{
  "device": "0x83161be053d4d23dc940dcfc94fcf0ba39582c44",
  "ens": "bkc-sim-02.sim.prananet.eth",
  "geohash": "te7u6n",
  "epoch": 1793999340,
  "pm25_x10": 932,
  "pm10_x10": 1800,
  "temp_x10": 298,
  "hum_x10": 614,
  "nonce": 479,
  "signature": "0x",
  "simulated": true
}