midnight-deploy

Automate Midnight smart contract deployment to local or preview networks.

8|2|Updated Jan 18, 2026
One-click install
npx skills add https://github.com/UvRoxx/midnight-agent-skills --skill midnight-deploy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: midnight-deploy
Source: https://github.com/UvRoxx/midnight-agent-skills/tree/main/skills/midnight-deploy
Command: npx skills add https://github.com/UvRoxx/midnight-agent-skills --skill midnight-deploy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openssl, curl, docker, npm, node, bash, and includes scripts (resource) components.

What problem does it solve?

Deploying and managing Midnight smart contracts across local and preview environments is complex; this skill streamlines compilation, infrastructure orchestration, deployment, and result retrieval.

Core Features & Use Cases

  • End-to-end deployment: compile Compact contracts, start node/indexer/proof server, and deploy to local or preview networks.
  • Standalone infrastructure management: spin up local Midnight infrastructure with a single command.
  • Preview network deployment and testing: deploy to testnet and retrieve deployment details for frontend integration.

Quick Start

Run the deployment script to compile, start local infrastructure, and deploy your contract to the chosen network.

Frequently Asked Questions about midnight-deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy Midnight smart contracts to a local network?

To deploy Midnight smart contracts locally, you must compile Compact contracts and bootstrap the local infrastructure. This skill automates starting the node, indexer, and proof server, then executes the deployment and returns a JSON output with deployment details.

What is needed to automate Midnight contract deployment to preview networks?

Automating Midnight contract deployment to preview networks requires the Compact toolchain, Docker, and Node.js. The skill handles compilation and infrastructure orchestration, outputting a JSON report with the retrieved testnet deployment details.

Can I spin up Midnight infrastructure like the node and indexer without deploying a contract?

Yes, you can spin up standalone Midnight infrastructure including the node, indexer, and proof server. This skill supports standalone infrastructure management, allowing you to bootstrap the local environment with a single command without requiring a contract deployment.

How does bootstrapping local Midnight infrastructure for contract testing work?

Bootstrapping local Midnight infrastructure works by orchestrating Docker containers to run the node, indexer, and proof server. This skill automates the process, compiling Compact contracts and managing the infrastructure lifecycle to provide a ready local testing environment.

Do I need Node.js and Docker to compile and deploy Compact contracts on Midnight?

Yes, you need Node.js and Docker along with the Compact toolchain to compile and deploy Compact contracts on Midnight. These dependencies are required to execute the automated deployment reliably and bootstrap the necessary local or preview infrastructure.