Skip to content

Reference proof script

Use the existing reference script with the complete proof copied from an Explorer record.

The script uses the Python 3 standard library. It reads a local file and makes no network requests. No wallet connection, private key, platform login or database access is required.

Save the complete copied proof as copied-proof.txt, then run this command from the repository root:

python3 proofs/aibrc-merkle-reference-v3.py copied-proof.txt

For a complete copied proof, a successful result is:

FINGERPRINTS_AND_MERKLE_MATCHED_OTS_BITCOIN_NOT_VERIFIED

This checks the record and manifest fingerprints, inclusion proof and any supplied consistency proof. Complete the OTS-to-Bitcoin check and supported business-formula recomputation separately, using the verification method included with the copied proof.

The script accepts both LF and CRLF input files. Use the accompanying SHA-256 file to check this download.

Find the verification guide for Method v2, the AI prompt and public endpoints.