The Hash Chain is a cryptographic verification system that ensures the integrity and ordering of steps in a thread. Each step contains a hash that links to the previous step, creating an immutable audit trail.Documentation Index
Fetch the complete documentation index at: https://docs.threadify.dev/llms.txt
Use this file to discover all available pages before exploring further.
Hash Properties
- Tamper-proof - Any modification breaks the chain
- Ordered - Ensures steps execute in correct sequence
- Verifiable - Chain integrity can be checked
- hash - Current step’s cryptographic hash
- prevHash - Previous step’s hash (null for first step)
Chain Verification
- Node.js
- Go
- Python
Benefits
- Integrity - Detects any modification to step data
- Ordering - Ensures steps execute in correct sequence
- Audit Trail - Immutable record of execution
- Trust - Cryptographic proof of execution
Use Cases
- Compliance - Regulated industries need audit trails
- Dispute Resolution - Prove what actually happened
- Security - Detect unauthorized modifications
- Debugging - Identify where execution went wrong