Statement of Work
Managed Blockchain Indexing Service — Midnight Network
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).
Handover & Operate
Take over the existing indexer, ensure continuity of service across all environments.
Improve & Harden
Enhance performance, reliability, and security with managed infrastructure best practices.
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.
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
Technical Architecture
Indexing Engine
GraphQL API
- Blocks & transactions
- Smart contracts
- DUST balances
- Governance history
- SPO data
- Wallet connect
- Wallet disconnect
- Session management
- New blocks
- Contract actions
- Shielded transactions
- Unshielded transactions
- Ledger events
Performance Targets
| Metric | Target |
|---|---|
| Query Latency (p50) | < 100 ms |
| Query Latency (p95) | < 500 ms |
| Indexing Lag | < 5 seconds |
| Service Uptime | >= 99.9 % |
| Recovery Time Objective | < 1 hour |
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
Environment & Operations
Testnet
Independent instance
Preproduction
Independent instance
Mainnet
Independent instance
Protocol Upgrades
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
Migration Plan
Assessment & Handover
Review existing indexer codebase, identify gaps, document architecture
Parallel Operation
Run alongside existing indexer, validate data equivalence across all domains
Cutover
Switch production traffic, intensive monitoring, rollback plan ready
Improvement
Optimize performance, add features, expand coverage
Timeline
Team
Technical Lead
Solutions Architect & Project Lead
Dedicated DevOps Engineer
Infrastructure & CI/CD
Backend Engineer
Blockchain specialist
Security Engineer
Privacy protocols
Technical Support Team
24/7 rotation coverage
Pricing
Implementation & Migration
3-month engagement — 1 dedicated senior engineer
Monthly
$20,000
USD / month
Duration
3
Months
Total
$60,000
USD
Covers
Managed Hosting, Maintenance & Updates
Ongoing after implementation — flexible terms
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.
Contact & Next Steps
WBSFT® — Prepared by Webisoft for Midnight Foundation