Technical Specification

The VeritasChain Protocol (VCP) is an open standard (current: v1.1 published; v1.2 Release Candidate RC1) for recording algorithmic trading decisions and execution results in a tamper-evident, append-only, cryptographically verifiable format.

Protocol Overview

Purpose

VCP establishes a cryptographically secured chain of evidence for algorithmic trading operations, producing evidence relevant to international regulations including MiFID II, GDPR, and the EU AI Act. Signature algorithms are identified per record (crypto agility), so that post-quantum algorithms can be introduced later.

Scope

  • High-Frequency Trading (HFT) systems
  • AI-driven trading platforms
  • Retail trading systems (MT4/MT5)
  • Cryptocurrency exchanges
  • Regulatory reporting systems
Cryptographic Integrity

Digital signatures (Ed25519) and Merkle trees with RFC 6962 domain-separated hashing, anchored externally, make tampering with anchored records cryptographically detectable.

Regulatory Evidence

Records designed to supply evidence relevant to MiFID II, the EU AI Act and GDPR (crypto-shredding for erasure requests). Conformance does not by itself constitute legal compliance.

Crypto Agility

Crypto-agile design: Ed25519 is the default; the post-quantum algorithms DILITHIUM2 (ML-DSA) and FALCON512 (FN-DSA) are EXPERIMENTAL in v1.2 RC1 and not a certification requirement.

Compliance Tier Structure

VCP defines three compliance tiers to accommodate different technical requirements and use cases, from high-frequency trading to retail platforms.

Platinum

HFT / Exchange Grade

Clock Sync

PTPv2 <1µs precision

Performance

>1M events/sec, <10µs latency

Serialization

Binary (SBE/FlatBuffers)

Signature

Ed25519 (Hardware HSM)

Implementation

C++, Rust, FPGA

External Anchor

Every 10 min (REQUIRED)

Gold

Institutional / Prop Trading

Clock Sync

NTP <1ms precision

Performance

>100K events/sec, <100µs latency

Serialization

JSON (optimized)

Signature

Ed25519 (Client-side)

Implementation

Python, Java, C#

External Anchor

Every 1 hour (REQUIRED)

Silver

Retail / MT4/MT5

Clock Sync

Best-effort system time

Performance

>1K events/sec, <1s latency

Serialization

JSON (standard)

Signature

Ed25519 (Delegated)

Implementation

MQL5, Python

External Anchor

Every 24 hours (REQUIRED)

Core Modules

VCP is designed with a modular architecture, allowing implementations to adopt components based on their specific requirements and regulatory obligations.

VCP-CORE

Standard header and security layer with Three-Layer Architecture providing cryptographic integrity, timestamp precision, and event identification.

Event ID (UUIDv7)
Timestamp (nanosecond)
Digital signatures
Merkle tree integrity

VCP-TRADE

Trading data payload schema capturing the order lifecycle from signal and order submission to execution and position close.

Signal generation
Order submission
Execution details
Position tracking

VCP-GOV

Algorithm governance and AI transparency module recording human oversight and explainability of automated decisions.

Algorithm updates
AI decision tracking
Human intervention
Audit trails

VCP-RISK

Risk management parameter recording capturing the risk profile, the applied controls (order-size, position, exposure and VaR limits, throttles) and the controls that were triggered.

Position limits
Order-size & fat-finger checks
Exposure & VaR limits
Triggered controls

VCP-PRIVACY

Privacy protection with crypto-shredding technique, supporting the GDPR "right to be forgotten" while maintaining audit integrity.

Crypto-shredding
GDPR erasure support
Data encryption
Key management

VCP-RECOVERY

Chain disruption recovery mechanism supporting audit trail continuity even during system failures or network partitions.

Failure detection
Chain reconstruction
Gap identification
Recovery protocols

VCP-XREF

NEW in v1.1

Cross-reference and dual logging extension enabling independent VCP streams from multiple parties for discrepancy detection.

Dual logging
Cross-party verification
Dispute resolution
Non-repudiation

Full Specification Documents

The complete VCP specification (v1.0, v1.1 and v1.2 RC1; English is normative, Japanese and Chinese are convenience translations) is published on GitHub. All documents are maintained by the VeritasChain Standards Organization (VSO).

Technical Resources

JSON Schema

Machine-readable schema definitions for automated validation and code generation.

Download Schema
SBE Templates

Simple Binary Encoding templates for Platinum tier implementations: Planned — no date set.

SDK Specification

SDK interface specification for TypeScript, Python and an MQL5 bridge (Release Candidate). SDK packages are not yet published (Planned — no date set).

View on GitHub
Implementation Guide

Step-by-step guide for integrating VCP into existing trading systems.

Read Documentation

Ready to Implement VCP?

Build a verifiable trading system. VC-Certified assessments are carried out by accredited Conformity Assessment Bodies (CABs), not by VSO.