VeritasChain Developer Hub

Specifications, the SDK specification, guides and reference implementations for implementing and verifying VCP. Current specification: v1.2.

View VCP v1.2 Specification

VCP v1.2 Specification

An open cryptographic audit standard for AI & algorithmic trading.

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

Explorer API v1.1

API documentation for event search and proof verification (not deployed).

  • REST endpoints
  • Proposed proof-verification endpoints
  • Proposed event-certificate format

SDKs (TS / Python)

SDK interface specification (Release Candidate). The offline core vcp-sdk v0.1.0 (pre-release) is available from GitHub. It is not an implementation of this interface specification; its packages are not published on PyPI or npm.

  • TypeScript, Python
  • Hash-chain & Merkle helpers
  • Illustrative examples (not runnable yet)

VC-Certified & Conformance

Certification scheme and the Conformance Test Guide (written for VCP v1.0).

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

Sidecar Integration Guide

Legacy VCP v1.0 illustrative integration patterns; not production-ready or certified.

  • Shadow logging
  • Manager API patterns
  • No external anchoring or signature implementation

VSO reports Explorer API search fixes and public inclusion demo updates

27 October update: Explorer API search fixes pass 159 first-party CI tests. The public GUI now checks inclusion using an explicit tree size and rejects malformed proofs. It remains an unsigned synthetic demo with no connected API. Experimental extensions remain unadopted; independent reproduction is not established.

Read the update and its limits →

Planned Quick-Start Workflow

Illustrative SDK-spec workflow — PyPI/npm packages and this production workflow are not available. The GitHub offline core and separate Explorer Evidence Demo are public.

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

A demo Web UI with sample data is available at /explorer/app/. The Explorer API source is public. Ordinary API routes return mock data; the separate SDK Evidence Demo is available in the public Explorer. The production URLs and SDK-spec workflow illustrated here are not an available production service. Authentication middleware is not implemented in the published API.

Quick Start with Python

Silver Tier
# SDK package not yet published (Planned — no date set).
# Illustrative API. The offline core github.com/veritaschain/vcp-sdk
# (v0.1.0, pre-release) has a different API; see its README.

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

Planned libraries for VCP integration (not yet published)

Note: SDKs follow VCP SDK Specification v1.0. The vcp-core-py, vcp-core-cpp and vcp-mql-bridge packages named below are not published yet (Planned — no date set). Available today: the SDK specification (Release Candidate), VCP v1.0 reference sidecar code (Python adapter, MQL5 bridge) in the vcp-sidecar-guide repository, and vcp-sdk v0.1.0, a pre-release offline core for VCP v1.2 written by VeritasChain Co., Ltd. (Python, TypeScript, MQL5: canonical hashing, RFC 6962 Merkle trees, Ed25519, three-valued verification). vcp-sdk is not an implementation of vcp-sdk-spec, is installed from GitHub (not PyPI or npm), and a VALID result from it is not a conformance claim.

vcp-core-py

Python 3.8+

For data scientists, risk managers, and backtesting.

  • Backtest auditing
  • VCP-RISK log generation
  • RFC 8785 JSON canonicalization
# Not yet published

vcp-core-cpp

C++17

For HFT and low-latency environments.

  • Microsecond precision
  • Lock-free ring buffer
  • PTP clock integration
# Not yet published

vcp-mql-bridge

MQL4/5

For MetaTrader EA integration.

  • MT4/MT5 EA integration
  • Retail forex logging
  • Cross-broker auditing
// Not yet published

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)

Concept only — a hosted service has not been released (browser demo at /vcc/)

  • 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

Illustrative implementation patterns (SDKs implementing vcp-sdk-spec are not yet published)

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.

Find published research and SDK resources by purpose

Explore evidence verification, cloud credentials, payment authorization, VCP integrity research and SDK availability. Experimental extensions remain unadopted; independent reproduction is not established.

Browse research resources → · SDK status and installation snapshot