A portfolio of comprehensive tutorials, runnable code, and developer tools for the Midnight blockchain — covering smart contracts, privacy patterns, debugging, testing, and wallet integration.
8-phase security checklist covering nullifier patterns, selective disclosure, overflow guards, proof server testing, and post-deployment monitoring.
6 root causes mapped to diagnostic workflows. 6 TypeScript modules + automated Python diagnostic script for proof server, version, and encoding issues.
Interactive funding decision tree, exchange status checker, wallet setup guides, bridge walkthrough, and troubleshooting for NIGHT token acquisition.
Bash diagnostic script (7 automated checks), TypeScript version checker, Docker Compose health templates for proof server troubleshooting.
Unit tests with vitest, 4 assertion patterns, nullifier testing, Docker integration test stack, GitHub Actions CI pipeline.
V4 API wallet detection, transaction flow, state subscriptions. 3 TypeScript modules with XSS-safe rendering and polling fallback.
Express REST API with wallet, proof-client, contract-client modules. Health checks, error classification, retry strategies, production checklist.
React frontend with Apollo Client GraphQL, WebSocket real-time subscriptions, ledger field type parser, ContractStateViewer components.
4 Compact contracts (division, scaling, counter overflow, large amounts), Python static audit tool, 16 test cases for ZK math pitfalls.
TypeScript sponsor service, client integration module, Python DUST analyzer. Covers ownPublicKey() behavior in sponsorship context.
Lace 13-circuit limit, block weight, proof time scaling, 3 splitting strategies, cross-contract references. Python analyzer tool.
Block-time query functions, Counter Uint16 ceiling, multi-counter cascade, hours-since-epoch, split timestamp patterns. Time audit tool.
Signed witness with eddsa_verify, admin feed with timelock, cross-contract aggregation with fallback. Oracle audit tool.
Each repository includes runnable developer tools:
midnight_audit.py — Static security analyzerdiagnose_error_1010.py — Error 1010 root cause finderdiagnose_proof_server.sh — Proof server health checkermath_audit.py — ZK math trap detectordust_analyzer.py — DUST sponsorship analyzercontract_size_analyzer.py — Circuit budget trackerfunding_decision_tree.py — NIGHT token funding guideexchange_status_checker.sh — Exchange availabilitytime_audit.py — Time-related issue detectororacle_audit.py — Oracle pattern auditor