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

Reading #509

255Poor

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

PM2.5
106.6 µg/m³
PM10
207.7 µg/m³
Temperature
29.1 °C
Humidity
61.6 %
Entity key
0x09a55df72bde7f4a9995ca22d983222e4159d11cc4f15d6003c7cdf54534812d
Written by (relayer wallet)
0x3a1f21f1c6f05efa35bb7178274b41c8873cca67
Expires
10/11/2026, 03:11:44 IST (3 days after the reading)
Queryable attributes
device = 0x83161be053d4d23dc940dcfc94fcf0ba39582c44ens = bkc-sim-02.sim.prananet.ethgeohash = te7u6nepoch = 1794001200nonce = 509pm25_x10 = 1066pm10_x10 = 2077simulated = true
Query that finds this record
from("prananet.reading").where(device = 0x83161be053d4d23dc940dcfc94fcf0ba39582c44 && nonce = 509).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
    2epochuint2563217940012000x000000000000000000000000000000000000000000000000000000006aee4930
    3pm25_x10uint2563210660x000000000000000000000000000000000000000000000000000000000000042a
    4pm10_x10uint2563220770x000000000000000000000000000000000000000000000000000000000000081d
    5temp_x10int256322910x0000000000000000000000000000000000000000000000000000000000000123
    6hum_x10uint256326160x0000000000000000000000000000000000000000000000000000000000000268
    7nonceuint256325090x00000000000000000000000000000000000000000000000000000000000001fd
    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 509 follows #508, 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": 1794001200,
  "pm25_x10": 1066,
  "pm10_x10": 2077,
  "temp_x10": 291,
  "hum_x10": 616,
  "nonce": 509,
  "signature": "0x",
  "simulated": true
}