VeritasChain Developer Hub

All tools, specifications, and SDKs required to implement and verify VCP v1.0.

View VCP v1.0 Specification

VCP v1.0 Specification

The cryptographic audit standard for AI & algorithmic trading.

  • Event lifecycle & data model
  • Compliance tiers
  • Regulatory alignment (MiFID II / EU AI Act)

Explorer API v1.1

Search, verify, and certify VCP events.

  • REST endpoints
  • Merkle proof verification
  • Event certificates

SDKs (TS / Python)

Official SDKs for building VCP integrations.

  • TypeScript, Python
  • Hash-chain & Merkle helpers
  • Ready-to-use examples

VC-Certified & Conformance

Checklists & test suites for certification.

  • Silver / Gold / Platinum tiers
  • Log format rules
  • Submission workflow

Sidecar Integration Guide

Non-invasive integration for MT4/5, cTrader, and WL brokers.

  • Shadow logging
  • Manager API patterns
  • 24h anchoring examples

Get Started in 5 Minutes

Three simple steps to start logging VCP events

STEP 1

Install SDK

Choose an SDK for your environment (TypeScript or Python)

STEP 2

Log Events

Record trading events in VCP-compliant format

STEP 3

Verify & Certify

Use Explorer API to verify chain integrity

Open VCP Explorer API

Web UI explorer coming soon. API provides full verification features.

Quick Start with Python

Silver Tier
pip install vcp-core-py

from vcp import VCPLogger, Tier

# Initialize Silver Tier logger
logger = VCPLogger(tier=Tier.SILVER, private_key="your-key")

# Record trading events
logger.log_order(symbol="EURUSD", side="BUY", quantity="100000", price="1.08450")

# Save locally (runs parallel to production)
logger.save("./vcp_logs/")

Official SDKs

Production-ready libraries for VCP integration

Note: SDKs follow VCP SDK Specification v1.0. Implementations are reference prototypes. Verify status in GitHub repositories before production use.

vcp-core-py

Python 3.8+

For data scientists, risk managers, and backtesting.

  • Backtest auditing
  • VCP-RISK log generation
  • RFC 8785 JSON canonicalization
pip install vcp-core-py

vcp-core-cpp

C++17

For HFT and low-latency environments.

  • Microsecond precision
  • Lock-free ring buffer
  • PTP clock integration
vcpkg install vcp-core-cpp

vcp-mql-bridge

MQL4/5

For MetaTrader EA integration.

  • MT4/MT5 EA integration
  • Retail forex logging
  • Cross-broker auditing
#include <VCPLogger.mqh>

Integration Patterns

Choose the right integration approach for your infrastructure

Pattern A: Sidecar Integration

External process, no core modification

  • Independent from broker infrastructure
  • Generate independent audit logs
  • Detect data tampering

Pattern B: Shadow Logging

RECOMMENDED

Generate VCP logs parallel to existing system. Perfect for PoC.

  • No production impact
  • Phased migration path
  • Risk-free evaluation

Pattern C: VeritasChain Cloud (VCC)

SaaS solution, no infrastructure needed

  • No infrastructure management
  • REST API integration
  • Automatic anchoring

Pattern D: Kernel Bypass (HFT)

Ultra-low latency for Platinum Tier

  • DPDK/RDMA for kernel bypass
  • PTP hardware clock
  • Lock-free ring buffer

Code Examples

Production-ready implementation patterns

Python: Backtest Audit
Silver Tier
from vcp import VCPLogger, Tier, EventType
from datetime import datetime

logger = VCPLogger(
    tier=Tier.SILVER,
    private_key_path="./key.pem"
)

def log_backtest_trade(symbol, side, qty, price):
    logger.log_event(
        event_type=EventType.ORDER_ACCEPTED,
        timestamp=datetime.now(),
        payload={"symbol": symbol, "side": side,
                 "quantity": qty, "price": price}
    )

# Verify chain integrity
if logger.verify_chain():
    logger.export_json("backtest_audit.json")
C++: HFT Logger
Platinum Tier
#include <vcp/platinum.hpp>

class HFTVCPLogger {
    vcp::PlatinumLogger logger_;
    vcp::PTPClock ptp_clock_;
public:
    HFTVCPLogger() 
        : logger_(vcp::ClockSource::PTP_HARDWARE),
          ptp_clock_("/dev/ptp0") {}

    inline void log_order(uint64_t order_id,
                          const char* symbol,
                          Side side) {
        uint64_t ts = ptp_clock_.now_ns();
        logger_.write_event(order_id, symbol, ts);
    }
};

GitHub Repositories

Open source tools and specifications

Need Technical Support?

Integration questions, PoC support, or enterprise deployment — we're here to help.

Contact Us

Have questions about VCP integration? Reach out to our technical team.