midnightntwrk/passport/midnight-deploy
Claude Code and agent skill by midnightntwrk/passport
- community
Checking that the SKILL.md file is still in the repository.
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".
Install
npx vskill@latest install midnightntwrk/passport/midnight-deploySKILL.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
- Compiles Compact contract to WebAssembly + ZK circuits
- Starts required infrastructure (node, indexer, proof server)
- Deploys contract with initial state
- Returns contract address for frontend integration
Prerequisites
Before deploying, ensure you have:
Local Development (Standalone)
Start Local Infrastructure
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
Preview Network (Testnet)
Configure Environment
Create counter-cli/.env:
Get Test Tokens
- Visit Midnight Faucet
- Enter your wallet address
- Receive tSTAR tokens
Deploy to Preview
Deployment Output
Successful deployment returns:
Configure Frontend
After deployment, update frontend environment:
Network Configuration
Local (Standalone)
Preview (Testnet)
Deployment Script
For automated deployments, use:
Arguments:
network- Target network:localorpreview(default:local)contract-path- Path to contract directory (default: current directory)
Examples:
Troubleshooting
Docker Not Running
Solution: Start Docker Desktop or Docker daemon
Compact Compiler Not Found
Solution: Install Compact compiler:
Insufficient Funds
Solution: Get test tokens from faucet
Proof Server Timeout
Solution:
- Check proof server is running
- Simplify circuit complexity
- Increase timeout in config
Contract Already Deployed
Solution: Use a new deployment or join existing contract
Deployment Checklist
- [ ] Contract compiled successfully (
npm run build) - [ ] Tests passing (
npm run test) - [ ] Environment variables configured (
.env) - [ ] Wallet funded with tSTAR (for preview)
- [ ] Infrastructure running (for local)
- [ ] Contract address saved
- [ ] Frontend configured
References
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingexperiments/nearfall-evaluation/.claude/skills/midnight-deploy/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/midnightntwrk/passport/midnight-deploy)