π World-First Evidence
Publicly documented, independently verifiable cryptographic audit trail PoC
π https://github.com/veritaschain/vcp-ctrader-rta-reference
π World-First Evidence
Publicly documented, independently verifiable cryptographic audit trail PoC
π https://github.com/veritaschain/vcp-fix-rta-reference
π World-First Evidence
Publicly documented, independently verifiable cryptographic audit trail PoC
π https://github.com/veritaschain/vcp-ibkr-rta-reference
π World-First Evidence
Publicly documented, independently verifiable cryptographic audit trail PoC
π https://github.com/veritaschain/vcp-nasdaq-rta-reference
π World-First Evidence
Publicly documented, independently verifiable cryptographic audit trail PoC
π https://github.com/veritaschain/vcp-cloudflare-rta-reference
"Verify, Don't Trust."
VCP-RTA is a reference implementation demonstrating VCP v1.1 Silver Tier compliance for algorithmic trading systems. This repository provides a complete, verifiable evidence pack that third parties can independently validate.
π A detailed "World's First" Evidence Report documenting independent prior-art analyses is included in this repository.
This Evidence Pack demonstrates a production-grade implementation of VCP in a live MT5 environment. The implementation captures AI-driven trading decisions and execution events using a non-invasive sidecar architecture that operates independently of the core trading platform.
AI decision signals, order lifecycle events, and execution outcomes are recorded externally, cryptographically hashed, organized into Merkle trees, and anchored to enable independent third-party verification.
| Feature | v1.0 | v1.1 |
|---|---|---|
| Three-Layer Architecture | - | β NEW |
| External Anchor (Silver) | OPTIONAL | REQUIRED |
| Policy Identification | - | REQUIRED |
| PrevHash | REQUIRED | OPTIONAL |
| Completeness Guarantees | - | β NEW |
v1.1 Core Enhancement: Extends tamper-evidence to completeness guarantees β third parties can now verify not only that events were not altered, but that no required events were omitted.
vcp_v1_1_repo_aligned/
βββ evidence/
β βββ evidence_index.json # Evidence manifest
β βββ 01_trade_logs/
β β βββ vcp_rta_events.jsonl # VCP v1.1 event chain (40 events)
β βββ 02_verification/
β β βββ verification_report.txt # Verification results
β βββ 03_tamper_detection/
β β βββ tamper_detection_test.py # Tamper detection test
β β βββ tampered_chain.jsonl # Tampered sample for testing
β βββ 04_anchor/
β βββ security_object.json # Merkle tree & signatures
β βββ anchor_reference.json # External anchor info
β βββ public_key.json # Verification public key
βββ examples/
β βββ ai-trading-integration/
β βββ README.md # Integration guide
β βββ vcp_logger.py # VCP v1.1 logger module
β βββ vcp_poc_demo.py # PoC demonstration
βββ tools/
β βββ verifier/
β βββ vcp_verifier.py # Chain verification tool
βββ docs/
β βββ VERIFICATION_GUIDE.md # Step-by-step verification
β βββ architecture.md # Three-layer architecture
βββ CHANGELOG.md
βββ DISCLAIMER.md
βββ LICENSE
- Python 3.8+
- No external dependencies required (standard library only)
# Clone the repository
git clone https://github.com/veritaschain/vcp-rta-reference.git
cd vcp-rta-reference
# Run verification (Linux/macOS)
python tools/verifier/vcp_verifier.py \
evidence/01_trade_logs/vcp_rta_events.jsonl \
-s evidence/04_anchor/security_object.json
# Run verification (Windows)
python tools\verifier\vcp_verifier.py evidence\01_trade_logs\vcp_rta_events.jsonl -s evidence\04_anchor\security_object.json
# Run tamper detection test
python evidence/03_tamper_detection/tamper_detection_test.py======================================================================
VCP v1.1 Verification Report
======================================================================
[Verification Results]
Overall Status: [PASS] VALID
Total Events: 40
Valid Events: 40
Invalid Events: 0
[Chain Integrity]
Sequence Continuity: [PASS]
PrevHash Integrity: [PASS]
Merkle Root: [PASS]
======================================================================
Verification complete: All checks passed
======================================================================
| Metric | Value |
|---|---|
| Total Events | 40 |
| Signal Events | 20 |
| Order Events | 20 |
| VCP Version | 1.1 |
| Tier | Silver |
This evidence pack anonymizes sensitive information:
- Ticket numbers: SHA-256 hashed
- Position IDs: SHA-256 hashed
- Trade amounts: Excluded
- Account identifiers: Excluded
- AI model names: Excluded (vote counts only)
- Layer 1: Event Integrity - Individual event hash & signature (SHA-256 + Ed25519)
- Layer 2: Collection Integrity - RFC 6962 Merkle Tree + PrevHash linking
- Layer 3: External Verifiability - External timestamp anchoring (OpenTimestamps)
- β Event Omission (Deletion Attack) - Detected via sequence gaps + Merkle mismatch
- β Event Modification (Alteration Attack) - Detected via Merkle root mismatch
- β Event Insertion (Injection Attack) - Detected via prev_hash + Merkle mismatch
This evidence pack is licensed under CC BY 4.0.
The examples/ directory contains reference implementations for integrating VCP into your own systems:
- AI Trading Integration - Python module for logging trading events with VCP v1.1 compliance