Demo ID: demo-2025-001Version: 1.0.0Last Updated: August 2025
Overview
Truth Machine is a blockchain-based data integrity and timestamping system built on BSV. It provides immutable proof of data existence and integrity by recording cryptographic hashes on the blockchain.
Features
Secure File Storage: Upload files with blockchain-backed integrity verification
Timestamping: Immutable proof of data existence at a specific time
Integrity Verification: Download files with cryptographic proof of integrity
Prerequisites: Latest versions of Docker Compose and Node.js. The start.sh script assumes macOS/Unix environment.
Setup
This script will install dependencies for frontend and backend, generate local keys, update your .env and docker-compose.yml, then launch the application.
Reverse Proxy Setup
To route API callbacks, set up a public tunnel:
Copy the public URL and update DOMAIN variable in .env or docker-compose.yml accordingly.
Stopping and Restarting
Stop services:
Restart without destroying the environment:
Running the Application
Development Mode
Production Mode
Using Docker
Build images:
Run containers:
Usage Guide
Treasury Management
Access Treasury section to see balance
Fund treasury by scanning QR code with BSV
Create write tokens for uploading files (1 token per upload)
File Upload
Navigate to Upload section
Select a file for upload
System calculates cryptographic hash, writes transaction on-chain, securely stores file, and provides transaction ID and proof
File Download
Navigate to Download section
Input file hash or transaction ID
Receive original file, timestamp proof, integrity verification, and BEEF transaction data
API Endpoints
File Operations
POST /api/upload — Upload and timestamp file
GET /api/download/:hash — Download file and proofs