๐ Midnight Network Integration
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.
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_enabledflag - 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 proofPOST /prove-batchโ Submit up to 20 proofs in a single batch request
Details:
- Available on Preprod โ Mainnet coming soon
- Binary validation applied to
prove-txpayloads - 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
sponsoredrequest 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_spaceper-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โ
| Network | Protocol | Environment |
|---|---|---|
| Midnight ZK-PaaS | midnight.zkpaas | Preprod (Mainnet coming soon) |
| Midnight RPC | midnight.rpc | Preprod (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โ
- ZK-PaaS
- RPC
- Vibe Code
- Create a new project in the Arkhia dashboard and select Midnight ZK-PaaS as the network
- Copy your API key from the project settings
- 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": [...]}'
- Create a new project in the Arkhia dashboard and select Midnight RPC as the network
- Copy your API key from the project settings
- Query the Midnight node via JSON-RPC:
# Get chain info
curl -X POST "https://arkhia.io/midnight/rpc/<API-KEY>" \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "method": "midnight_chainInfo", "params": [], "id": 1}'
- Open the Arkhia dashboard and navigate to your Midnight ZK-PaaS project's Project Details
- Sign in to Google as your Arkhia-linked account in this browser โ Cloud Workstation access is granted to that GCP identity only
- Click Provision Workstation to spin up your personal Cloud Workstation (typically ready within 90 seconds)
- Once Ready, click Open to launch the workstation in a new tab and start coding with the built-in AI assistant
- Use Stop to pause the workstation or Delete to tear it down when you're done
Midnight Vibe Code is currently an Enterprise Preview feature. Contact Arkhia support to request access.
โ๏ธ Enabling ZK Featuresโ
To enable advanced Midnight features (Sponsored Wallet, ZK Prove Batch, Relay to Confidential Space):
- Open the Arkhia Dashboard and navigate to your Midnight ZK-PaaS project
- Go to Project Details โ Project Configuration
- Toggle the desired feature under the ZK Configuration section
- Confirm with your account password
- Wait up to 30 minutes for changes to propagate
Relay to Confidential Space is currently a preview feature and is disabled by default. Contact Arkhia support to request access.