חבילת אימות YHD · איך בודקים את ההוכחה בעצמכם, בלי YHD
=====================================================

החבילה הזאת מאפשרת לכל אחד (עורך דין, שופט, מומחה) לבדוק שהמסמך הוא אותו מסמך שנרשם, ומתי נרשם,
ישירות מול הבלוקצ'יין הציבורי Base. לא צריך את YHD, את האתר שלנו או חשבון כלשהו.

מה בחבילה:
  - YHD-Certificate-6d4857df90.pdf
  - proof.json
  - README.html
  - README.txt
  - verify.html

מה נרשם (טביעות אצבע SHA-256):
  - Document: 0x6d4857df9086dbf152720ab840b233c3ccf22fbeb5e365d8e063ebc1c276b8d5
    tx: https://basescan.org/tx/0xb914ebd7a2035fd5b6c6cc868449964e689f76db7ed4f245daab5527cc437390

שלב 1 · מחשבים את טביעת האצבע (SHA-256) של הקובץ שבידיכם
  הדרך הקלה: פותחים את verify.html (בלחיצה כפולה) וגוררים אליו את הקובץ. הבדיקה רצה במחשב שלכם, בלי אינטרנט.
  או בפקודה מובנית במערכת:
  Windows (שורת פקודה):   certutil -hashfile "<your-file>" SHA256
  Windows (PowerShell):   Get-FileHash "<your-file>" -Algorithm SHA256
  Mac (Terminal):         shasum -a 256 "<your-file>"
  Linux:                  sha256sum "<your-file>"
  התוצאה צריכה להיות זהה לטביעה שלמעלה (בלי 0x בהתחלה, אותיות גדולות או קטנות לא משנות).
  שינוי של תו אחד בקובץ ייתן טביעה שונה לגמרי.

שלב 2 · פותחים את העסקה בבלוקצ'יין
  פותחים את קישור ה-tx שלמעלה ב-basescan.org (אתר ציבורי ועצמאי שמציג את רשת Base), ועוברים ללשונית Logs.
  בודקים:
  - Address = 0x9b92206a4F062601c0C4437e843a1E1d597e5518  (חוזה הרישום של YHD)
  - Topics[0] = 0xde6f20688f83e34a77ba1c3aa39253486f7a025906d7aa005045ee4b701550d2  (סוג האירוע: ProofRegistered(bytes32,address,uint256,uint256))
  - Topics[1] = טביעת האצבע של הקובץ משלב 1  ← זו ההוכחה
  בלשונית Overview מופיע Timestamp: זה מועד הרישום, ש-YHD לא יכולה לשנות.


מה זה מוכיח ומה לא:
  מוכיח שקובץ עם טביעת האצבע הזו היה קיים לכל המאוחר במועד הבלוק, ושלא שונה מאז.
  לא מוכיח מי כתב את המסמך או שהתוכן נכון. YHD אינה נוטריון; זו ראיה שמשקלה נתון לבית המשפט.
  בשליחה רשומה: אינה תחליף להמצאה כדין לפי תקנה 162 כשנדרשת המצאה רשמית.

למומחים · בדיקה ישירה מול צומת Base (RPC ציבורי), בלי basescan:
  curl -s https://mainnet.base.org -H 'content-type: application/json' \
    -d '{"jsonrpc":"2.0","id":1,"method":"eth_getTransactionReceipt","params":["<tx>"]}'
  ובתוצאה: logs[].address = החוזה, logs[].topics[1] = הטביעה. רשת Base, chainId 8453.


YHD verification bundle · how to verify independently, without YHD
==================================================================

This bundle lets anyone verify that a file is the one that was registered, and when, directly against the public Base blockchain.

Registered SHA-256 fingerprints:
  - Document: 0x6d4857df9086dbf152720ab840b233c3ccf22fbeb5e365d8e063ebc1c276b8d5
    tx: https://basescan.org/tx/0xb914ebd7a2035fd5b6c6cc868449964e689f76db7ed4f245daab5527cc437390

Step 1 · Compute the SHA-256 of your file
  Easiest: open verify.html (works offline) and drop the file on it. Or use a built-in command:
  Windows (cmd):         certutil -hashfile "<your-file>" SHA256
  Windows (PowerShell):  Get-FileHash "<your-file>" -Algorithm SHA256
  macOS:                 shasum -a 256 "<your-file>"
  Linux:                 sha256sum "<your-file>"
  It must equal the fingerprint above (ignore the 0x prefix and letter case).

Step 2 · Open the transaction on basescan.org → "Logs" tab and check:
  - Address   = 0x9b92206a4F062601c0C4437e843a1E1d597e5518 (YHD registry contract)
  - Topics[0] = 0xde6f20688f83e34a77ba1c3aa39253486f7a025906d7aa005045ee4b701550d2 (ProofRegistered(bytes32,address,uint256,uint256))
  - Topics[1] = the SHA-256 from step 1  ← this is the proof
  The block Timestamp (Overview tab) is the registration time; YHD cannot change it.

What it proves: a file with this SHA-256 existed no later than the block time and is unchanged.
What it does not prove: authorship or truth of content. YHD is not a notary.
Network: Base mainnet, chainId 8453. See proof.json for all raw values.
