Skip to main content

๐ŸŒ™ Midnight Network Integration

Enterprise Access Only

Midnight is a private infrastructure service available exclusively to enterprise clients. If you are interested to know more, please reach out to us at help@arkhia.io.

Midnight on Arkhia โ€” Q1 2026โ€‹

March 2026 ยท Updated July 2026

Arkhia now supports the Midnight network โ€” a privacy-focused Layer 1 blockchain built on zero-knowledge proofs. Enterprise clients can access Midnight ZK-PaaS and Midnight RPC endpoints through Arkhia, with granular per-project controls for advanced ZK features, an AI-assisted development workstation, and confidential proof execution.

Proof Server Version

Current Proof Server: v7.0.0


๐Ÿš€ What's Newโ€‹

๐Ÿง  Midnight Vibe Code (Enterprise Preview โ€” New, July 2026)โ€‹

An AI-assisted, browser-based development workstation for Midnight ZK-PaaS projects โ€” no local environment setup required.

Details:

  • Provision a personal GCP Cloud Workstation per project directly from Project Details
  • Built-in RAG-powered coding assistant (Google Vertex AI) tuned for Midnight smart contract development
  • Access is tied to your Arkhia-linked Google account โ€” sign in to that identity before launching
  • Full lifecycle control: provision, start, stop, and delete the workstation; status auto-refreshes every few seconds
  • Provisioning and start operations typically complete within 90 seconds; deletion within 60 seconds
  • Usage is credit-metered against the project's credit allocation
  • Currently available as an Enterprise Preview โ€” contact support to enable

๐Ÿ” Confidential Proving with TEE (New, July 2026)โ€‹

Midnight proof-job requests can now be flagged to run inside a Trusted Execution Environment (TEE), adding a hardware-backed confidentiality guarantee on top of standard ZK proofs.

Details:

  • Opt in per proof-job request via the tee_enabled flag
  • Complements โ€” does not replace โ€” the existing Relay to Confidential Space feature
  • Usage is tracked alongside standard Midnight ZK-PaaS credit reporting

๐ŸŒ™ Midnight ZK-PaaS Endpointsโ€‹

Zero-knowledge proof infrastructure via the Midnight ZK-PaaS service.

Endpoints:

  • POST /prove-tx โ€” Submit a single ZK transaction proof
  • POST /prove-batch โ€” Submit up to 20 proofs in a single batch request

Details:

  • Available on Preprod โ€” Mainnet coming soon
  • Binary validation applied to prove-tx payloads
  • All requests require a valid Arkhia API key scoped to a Midnight ZK-PaaS project

๐Ÿ”— Midnight RPC Endpointsโ€‹

JSON-RPC node access for querying the Midnight blockchain state.

Supported Methods:

  • Chain info queries
  • Ledger version queries
  • API version queries

Details:

  • GET and POST method support
  • Available on Preprod โ€” Mainnet coming soon
  • Request usage tracked separately from ZK-PaaS in the credit system

๐Ÿ’ธ Sponsored Walletโ€‹

Automatic DUST token gas fee management for Midnight transactions.

Details:

  • Enable per-project from the ZK Project Settings panel in the dashboard
  • When enabled, DUST token fees are paid automatically โ€” users no longer need to hold or manage DUST tokens
  • Controlled via the sponsored request header in the Arkhia proxy
  • Password-protected toggle; changes propagate within 30 minutes

โšก ZK Prove Batchโ€‹

High-throughput batch proof submission for production ZK pipelines.

Details:

  • Submit up to 20 ZK proofs per request via /prove-batch
  • Enable per-project from the ZK Project Settings panel
  • Requests exceeding the 20-proof limit are rejected with a clear error message
  • Password-protected toggle; changes propagate within 30 minutes

๐Ÿ”’ Relay to Confidential Space (Preview)โ€‹

Route transactions to a secure, isolated compute environment for maximum privacy.

Details:

  • Transactions are relayed to a sandboxed confidential environment
  • Provides an additional privacy layer beyond standard ZK proofs
  • Controlled via the zk_relay_to_space per-project setting
  • Currently available as a preview feature โ€” disabled by default; contact support to enable

โš™๏ธ ZK Project Settings UIโ€‹

New per-project settings panel in the Arkhia dashboard for managing all Midnight-specific features.

Details:

  • Available under Project Details โ†’ Project Configuration (ZK-PaaS projects only)
  • Toggle ZK Prove Batch, Sponsored Wallet, and Relay to Confidential Space independently per project
  • All changes require password confirmation via a secure dialog
  • Settings propagate within 30 minutes of change

๐ŸŒ Network Supportโ€‹

NetworkProtocolEnvironment
Midnight ZK-PaaSmidnight.zkpaasPreprod (Mainnet coming soon)
Midnight RPCmidnight.rpcPreprod (Mainnet coming soon)

๐Ÿ’ณ Credit Trackingโ€‹

All Midnight API calls are fully integrated into the Arkhia credit system:

  • Midnight ZK-PaaS requests are tracked as API type MIDNIGHT_ZKPAAS
  • Midnight RPC requests are tracked as API type MIDNIGHT_RPC
  • Midnight Vibe Code sessions are metered separately against the project's credit allocation
  • Usage breakdowns are visible in the Arkhia analytics dashboard per project

๐Ÿ› ๏ธ Getting Started with Midnightโ€‹

  1. Create a new project in the Arkhia dashboard and select Midnight ZK-PaaS as the network
  2. Copy your API key from the project settings
  3. Submit proof transactions to the Arkhia proxy:
# Prove a single ZK transaction
curl -X POST "https://arkhia.io/midnight/zkpaas/<API-KEY>/prove-tx" \
-H "Content-Type: application/octet-stream" \
--data-binary @proof-payload.bin
# Prove a batch (up to 20 proofs) โ€” requires Prove Batch to be enabled
curl -X POST "https://arkhia.io/midnight/zkpaas/<API-KEY>/prove-batch" \
-H "Content-Type: application/json" \
-d '{"proofs": [...]}'

โš™๏ธ Enabling ZK Featuresโ€‹

To enable advanced Midnight features (Sponsored Wallet, ZK Prove Batch, Relay to Confidential Space):

  1. Open the Arkhia Dashboard and navigate to your Midnight ZK-PaaS project
  2. Go to Project Details โ†’ Project Configuration
  3. Toggle the desired feature under the ZK Configuration section
  4. Confirm with your account password
  5. Wait up to 30 minutes for changes to propagate
Preview Feature

Relay to Confidential Space is currently a preview feature and is disabled by default. Contact Arkhia support to request access.