HF RL Explorer

Build Merkle Tree CLI Tool with SHA-512

Build Merkle Tree CLI Tool with SHA-512: a task in openthoughts-tblite-dev-apptainer-v1: OpenThoughts-TBLite dev (offline Apptainer, v1) (Harbor dataset). Your task is to build a CLI tool that scans a target directory, computes SHA-512 hashes of each file as leaves in a Merkle tree, and stores the…

The task

Your task is to build a CLI tool that scans a target directory, computes SHA-512 hashes of each file as leaves in a Merkle tree, and stores the root hash and leaf proofs. The tool must provide commands to generate a Merkle proof for any file and to verify its integrity against the stored root, detecting any…

Part of laion/openthoughts-tblite-dev-apptainer-v1.