IMMUNITY

Digital Fingerprint

Understand the file hashes, identity digest, and logo similarity used by IMMUNITY.

What is hashed

FieldInput and canonical rules
Metadata SHA-256Exact bytes of a successfully parsed public metadata document.
Normalized JSON SHA-256The parsed JSON with object keys sorted recursively. Arrays retain their order. The implementation uses compact JSON and a depth limit.
Image SHA-256Exact downloaded raster bytes after the file meets decoder limits.
Image dHashThe oriented first frame, composited over white, scaled to 9 by 8 grayscale pixels. Each of 64 horizontal comparisons emits a bit.
Identity fingerprintVersion, exact mint and creator, normalized name and symbol, exact file hashes, and supported links, encoded as an ordered JSON array.
Social fingerprintOrdered website, X, and Telegram values after safe URL normalization.

The current identity version is imm-fingerprint-1. Original display values are shown alongside normalized fields. Identity strings use Unicode NFC and collapse whitespace while preserving case and punctuation. Match-only normalization is separate. Exact mint and creator values preserve base58 case.

Retrieve an actual fingerprint

curl --get 'http://127.0.0.1:3112/api/market/passport' \
  --data-urlencode "mint=$MINT"

Compare fingerprint.metadataHash using the bytes observed at the linked public document. The JSON and image hashes can be unavailable independently, including when a gateway refuses data. A normalized JSON hash can stay the same when an exact file hash changes due to formatting.

Logo similarity

The scanner computes Hamming distance on the two 64-bit dHashes. Similarity is (64 - differing bits) divided by 64, expressed as a percentage. It uses at least 87.5 percent bit agreement for a visual match and gives byte-for-byte equality a separate reason. Crops, rotations, flat logos, and different content can challenge this heuristic. See Similar Token Matching.