Webisoft
Prepared for Midnight Foundation

Statement of Work

Managed Blockchain Indexing Service — Midnight Network

Midnight Foundation·Webisoft·March 29, 2026·v1.0
Section 01

Executive Summary

Webisoft proposes to deliver a fully managed blockchain indexing service for the Midnight Network — a privacy-focused, non-EVM, Substrate-based blockchain featuring a dual transaction model (shielded and unshielded).

1

Handover & Operate

Take over the existing indexer, ensure continuity of service across all environments.

2

Improve & Harden

Enhance performance, reliability, and security with managed infrastructure best practices.

3

Customize & Scale

Extend indexing coverage, add new data domains, and offer as a managed service.

Webisoft brings deep blockchain infrastructure experience, privacy protocol understanding, and proven managed service operations to this engagement.

Section 02

Scope of Work

The indexing service will cover 11 data domains, providing comprehensive coverage of the Midnight ledger:

Blocks

Hash, height, timestamp, producer, parent hash, protocol version

Transactions

Regular + system transactions, fees, merkle tree state

Smart Contract Interactions

Deploy, Call, and Update contract actions

UTXOs

Creation, ownership tracking, spending lifecycle

Wallet Sessions & Viewing Keys

Encrypted at rest with ChaCha20-Poly1305

Ledger Events

Zswap + DUST events from chain state transitions

DUST Generation

Staked balances, generation rates, distribution

Bridge Integration

cNIGHT registrations, Cardano-Midnight bridge

Governance

D-parameter change history and voting records

Validator / SPO Data

Identities, committee membership, performance

Ledger State Store

Merkle tree persistence, state reconstruction

Section 03

Technical Architecture

Indexing Engine

Real-time ingestion from live chain
Historical indexing from genesis block
Ledger state replay for consistency
Multi-version ledger support (V7, V8+)
Atomic persistence guarantees
Chain reorganization handling

GraphQL API

Queries
  • Blocks & transactions
  • Smart contracts
  • DUST balances
  • Governance history
  • SPO data
Mutations
  • Wallet connect
  • Wallet disconnect
  • Session management
Subscriptions
  • New blocks
  • Contract actions
  • Shielded transactions
  • Unshielded transactions
  • Ledger events

Performance Targets

MetricTarget
Query Latency (p50)< 100 ms
Query Latency (p95)< 500 ms
Indexing Lag< 5 seconds
Service Uptime>= 99.9 %
Recovery Time Objective< 1 hour
Section 04

Security & Privacy

Viewing Key Encryption

All viewing keys encrypted at rest using ChaCha20-Poly1305

Transaction Privacy

Never expose which transactions are relevant to which wallet

Shielded Data Handling

Shielded data indexed as opaque blobs only

Network Segmentation

Network isolation, audit logging, DDoS protection

Compliance Path

SOC 2 / ISO 27001 compliance-ready architecture

Key Rotation

Automated key rotation procedures and secret management

Section 05

Environment & Operations

Testnet

Independent instance

Preproduction

Independent instance

Mainnet

Independent instance

24/7 monitoring with automated alerting
OpenTelemetry-compatible logging and tracing
Prometheus metrics (indexing lag, block height, API latency, active wallets)
Dashboard access for Midnight Foundation
Monthly operational reports
Incident response and escalation procedures
Section 06

Protocol Upgrades

Support new ledger versions (V7, V8, and beyond)
Committed turnaround time from specs to production deployment
Zero-downtime deployment for all upgrades
Backward-compatible API schema evolution
Existing data preservation across all migrations
Section 07

Deliverables

Managed Indexing Service

All environments (testnet, preproduction, mainnet) with SLA-backed uptime guarantees

GraphQL API

HTTP + WebSocket endpoints with full schema documentation and playground

Documentation

Architecture diagrams, data model reference, operational runbooks

Migration Support

Parallel-run validation, data equivalence testing, zero-downtime cutover

Section 08

Migration Plan

1

Assessment & Handover

2 weeks

Review existing indexer codebase, identify gaps, document architecture

2

Parallel Operation

4 weeks

Run alongside existing indexer, validate data equivalence across all domains

3

Cutover

1 week

Switch production traffic, intensive monitoring, rollback plan ready

4

Improvement

Ongoing

Optimize performance, add features, expand coverage

Section 09

Timeline

Wk 1 - 2
Assessment & Handover
Wk 3 - 4
Infrastructure Setup
Wk 5 - 8
Parallel Operation & Testing
Wk 9
Cutover
Wk 10 - 12
Stabilization & Optimization
Wk 13 +
Managed Operations
Section 10

Team

TL

Technical Lead

Solutions Architect & Project Lead

DE

Dedicated DevOps Engineer

Infrastructure & CI/CD

BE

Backend Engineer

Blockchain specialist

SE

Security Engineer

Privacy protocols

TS

Technical Support Team

24/7 rotation coverage

Section 11

Pricing

Implementation & Migration

3-month engagement — 1 dedicated senior engineer

Monthly

$20,000

USD / month

Duration

3

Months

Total

$60,000

USD

Covers

Takeover of existing indexer
Migration to managed infrastructure
Parallel operation & validation
Production cutover
Initial optimization & stabilization

Managed Hosting, Maintenance & Updates

Ongoing after implementation — flexible terms

$2,000USD / month
Infrastructure hosting (3 environments)
24/7 monitoring & alerting
Incident response & escalation
Ongoing maintenance & patches
Protocol upgrade support
Monthly operational reports

Hosting rate is flexible and can be adjusted based on infrastructure requirements and usage patterns.

Payment Terms

Implementation: monthly billing over 3 months. Hosting: monthly, begins at cutover.

Section 12

Contact & Next Steps

W

Webisoft

Point of Contact

utkarsh@webisoft.com

This proposal is valid for 30 days from date of issue.

WBSFT® — Prepared by Webisoft for Midnight Foundation