What problem does it solve? Building privacy-preserving DApps on the Midnight blockchain involves many moving parts—Compact contract design, TypeScript generation, wallet integration, proof server configuration, and network selection—and misconfigurations in any of them cause hard-to-diagnose failures. This Skill provides an end-to-end workflow that guides development from requirements through deployment and troubleshooting. ## Core Features & Use Cases - End-to-End Delivery Workflow: Structured phases covering discovery, design, implementation, verification, and deployment/operation for Midnight DApps. - Compact Contract Design Guidance: Rules for separating public and private data, minimizing witnesses, defining circuit boundary conditions, and applying TDD to contract logic. - Integration & Troubleshooting: Practical references for compact-runtime, midnight.js, Wallet API flows (prove/submit separation), proof server operations, and a prioritized failure-diagnosis matrix. - Use Case: You are building a consent-management DApp that anchors audit hashes on Midnight. Use this Skill to design the Compact circuit, integrate the generated TypeScript with a wallet, connect to a testnet proof server, and diagnose proof-generation failures. ## Quick Start Help me design and implement a Compact smart contract on Midnight and integrate it with my TypeScript app using the Wallet API and a testnet proof server.