Midnight Deploy

Deploy and manage Midnight smart contracts to local or preview network. Use this skill when deploying contracts, starting local infrastructure, or connecting to testnet. Triggers on "deploy contract", "start local node", "setup standalone", "deploy to preview", or "midnight infrastructure".

9 stars 2 forksDevOps & Cloud

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add UvRoxx/midnight-agent-skills --skill midnight-deploy
Manual install
git clone --depth 1 https://github.com/UvRoxx/midnight-agent-skills.git /tmp/midnight-agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/midnight-agent-skills/skills/midnight-deploy ~/.claude/skills/midnight-deploy

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Midnight Deploy

Deploy Midnight smart contracts to local development environment or preview network (testnet).

## When to Use

Use this skill when:
- Deploying a new Compact contract
- Starting local Midnight infrastructure
- Connecting to preview network (testnet)
- Troubleshooting deployment issues
- Setting up development environment

## How It Works

1. Compiles Compact contract to WebAssembly + ZK circuits
2. Starts required infrastructure (node, indexer, proof server)
3. Deploys contract with initial state
4. Returns contract address for frontend integration

## Prerequisites

Before deploying, ensure you have:

```bash
# Check Compact compiler
compact check

# Check Node.js
node -v  # v23+

# Check Docker (for local infrastructure)
docker -v
```

## Local Development (Standalone)

### Start Local Infrastructure

```bash
# From project root
npm run setup-standalone
```

This starts:
- **Midnight Node**: `ws://127.0.0.1:9944`
- **Indexer**: `http://127.0.0.1:8088`
- **Proof Server**: `http://127.0.0.1:6300`

### Deploy to Local

```bash
# Build contract first
cd counter-contract
npm run build

# Deploy via CLI
cd ../counter-cli
npm run deploy:local
```

## Preview Network (Testnet)

### Configure Environment

Create `counter-cli/.env`:
```env
MY_PREVIEW_MNEMONIC="your twelve word mnemonic phrase here"
MY_UNDEPLOYED_UNSHIELDED_ADDRESS=""
```

### Get Test Tokens

1. Visit [Midnight Faucet](https://faucet.preview.midnight.network/)
2. Enter your wallet address
Read the full skill on GitHub

Details

Skill name
midnight-deploy
Path
skills/midnight-deploy/SKILL.md
License
MIT
Repo updated
29 March 2026

FAQ

What does the Midnight Deploy skill do?

Deploy and manage Midnight smart contracts to local or preview network. Use this skill when deploying contracts, starting local infrastructure, or connecting to testnet. Triggers on "deploy contract", "start local node", "setup standalone", "deploy to preview", or "midnight infrastructure".

How do I install the Midnight Deploy skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add UvRoxx/midnight-agent-skills --skill midnight-deploy. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Midnight Deploy popular?

It lives in UvRoxx/midnight-agent-skills, which has 9 GitHub stars and 2 forks.

Related skills

Midnight Compact Guide

9

UvRoxx/midnight-agent-skills

Comprehensive guide to writing Compact smart contracts for Midnight Network. Use this skill when writing, reviewing, debugging, or learning Compact code. Triggers on "write a contract", "Compact syntax", "Midnight smart contract", "ledger state", "circuit function", or "ZK proof".

Marketing, Sales & Business

Midnight Infra Setup

9

UvRoxx/midnight-agent-skills

Set up and run Midnight infrastructure locally using official dev tools. Use this skill when setting up local development environment, starting node/indexer/proof-server, troubleshooting infrastructure, or syncing components. Triggers on "setup infrastructure", "start local node", "run indexer", "proof server", "midnight-infra-dev-tools", or "local development".

DevOps & Cloud

Midnight SDK Guide

9

UvRoxx/midnight-agent-skills

TypeScript SDK integration guide for Midnight dApps. Use this skill when building frontends, connecting wallets, or calling contracts from TypeScript. Triggers on "SDK", "TypeScript", "wallet integration", "connect dApp", "call contract".

Software Development

Liveblocks Best Practices

9

liveblocks/skills

Use this skill when building, debugging, or answering questions about Liveblocks. Liveblocks gives you the building blocks and infrastructure to enable people and AI to work together inside your app, powering realtime collaboration.

DevOps & Cloud

Scylladb Kubernetes

9

scylladb/agent-skills

Guide users deploying and operating ScyllaDB on Kubernetes via the official ScyllaDB Operator. Use this skill when a user is setting up a ScyllaCluster, configuring node storage/CPU pinning for ScyllaDB pods, installing the Operator, or troubleshooting a Kubernetes-based ScyllaDB deployment. Managed ScyllaDB Cloud clusters go to scylladb-cloud-setup. Triggers on "ScyllaDB Operator", "ScyllaCluster", "scylla-operator", "ScyllaDB on Kubernetes", "ScyllaDB Helm chart", "NodeConfig", "ScyllaDB EKS", "ScyllaDB GKE", "ScyllaDB OKE", "ScyllaDB kubernetes deployment", "exposeOptions", "ScyllaCluster T

DevOps & Cloud

Gcd

9

rochacbruno/gcd-claude-skill

Google Cloud Dedicated (GCD) and Cloud de Confiance (S3NS) sovereign cloud expert. Use when working with sovereign Google Cloud regions, or when the user mentions GCD, Google Cloud Dedicated, Cloud de Confiance, S3NS, sovereign cloud, universe domain, apis-berlin-build0.goog, s3nsapis.fr, u-germany-northeast1, u-france-east1, Trusted Partner Cloud, TPC, or data sovereignty requirements for Google Cloud workloads. Provides guidance on region-specific services, authentication, Terraform, networking, and key differences from public Google Cloud. Also use when asked to review a PR, code review, or

DevOps & Cloud

Browse the most popular Claude skills, all devops & cloud skills, or write your own with the skills generator.