If https://explore-preprod.midnight.network doesn't work, here are alternative deployment methods:
Official Midnight Documentation:
- Main site: https://midnight.network
- Developer docs: https://docs.midnight.network
- Getting started: https://docs.midnight.network/getting-started
Steps:
- Visit: https://docs.midnight.network
- Look for "Deploy" or "Smart Contracts" section
- Follow official deployment guide
- Alternative: Check for "Developer Tools" or "Testnet" links
Lace wallet may have built-in contract deployment:
Steps:
- Open Lace wallet browser extension
- Look for "dApps" or "Connect" section
- Look for deployment tools
- Or search for connected dApps that allow deployment
Since remote explorer may be down, you can test locally first:
# Start local Midnight network
docker-compose up -d midnight-local
# This starts:
# - Node on localhost:9944
# - Indexer on localhost:8088
# - Proof server on localhost:6300
# Then test deployment against local network
# (You'd need local deployment tools)Midnight Community:
- Discord: https://discord.com/invite/midnightnetwork
- GitHub: https://github.com/midnightntwrk
- Forum: https://forum.midnight.network
What to ask:
- "Explorer not working - alternative deployment method?"
- "PreProd deployment URLs"
- "How to deploy discovery-core contract"
Look for existing deployments in the ecosystem:
midnight-doc-manager (reference project):
- https://github.com/Mackenzie-OO7/midnight-doc-manager
- May have deployment scripts or examples
- Check their documentation for working methods
AutoDiscovery repo:
- Check issues: https://github.com/SpyCrypto/AutoDiscovery/issues
- May have deployment guidance
- Other users may have solutions
If you absolutely can't deploy right now, here's what to do:
For testing purposes only, you can use placeholder addresses:
# Test addresses (NOT real - for development only)
VITE_CONTRACT_DISCOVERY_CORE=03cc52g89494d8c9d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f
VITE_CONTRACT_DISCOVERY_PROOF=04dd63h89505e9d0e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f
VITE_CONTRACT_DOCUMENT_REGISTRY=05ee74i89616f0e1f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f
VITE_CONTRACT_ACCESS_CONTROL=06ff85j89727g1f2g7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f
VITE_CONTRACT_JURISDICTION_REGISTRY=07gg96k89838h2g3h8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f
VITE_CONTRACT_EXPERT_WITNESS=08hh07l89949i3h4i9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f- Test the UI starts
- Test the frontend loads
- Test wallet connection UI
- See what errors you get
Then when the explorer is back up, deploy real contracts.
The explorer might be:
- Temporarily down for maintenance
- Rate limiting
- Under heavy load
Try again later:
- Wait 30 minutes - 1 hour
- Retry: https://explore-preprod.midnight.network
- Check Discord for status updates
-
Check current status:
- Discord: https://discord.com/invite/midnightnetwork
- Ask: "Is PreProd explorer down?"
-
Check documentation:
- https://docs.midnight.network
- Search for "deploy contract"
- Look for alternative explorer URLs
-
Check GitHub:
- https://github.com/SpyCrypto/AutoDiscovery/issues
- Ask if anyone has working deployment method
-
Try local testing:
docker-compose up -d midnight-local # At least you can test the UI without real deployment
Search for:
- "Midnight testnet explorer"
- "Midnight preprod tools"
- "Midnight contract deployment"
- "Midnight dApp tools"
These may turn up:
- Backup explorers
- Community tools
- Official alternative UIs
Plan B: Wait for CLI Tool
The midnight deploy CLI tool should become available eventually:
- It's being developed but not public yet
- When available:
npm install -g @midnight-ntwrk/cli - Then deployment can be automated
Until then:
- Use whatever explorer/tool is available
- Or use local testing with mock addresses
If you want to test the AutoDiscovery UI without real deployment:
# Add mock addresses to .env.prod
cat > .env.prod << 'EOF'
VITE_CONTRACT_DISCOVERY_CORE=03cc52g89494d8c9d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f
VITE_CONTRACT_DISCOVERY_PROOF=04dd63h89505e9d0e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f
VITE_CONTRACT_DOCUMENT_REGISTRY=05ee74i89616f0e1f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f
VITE_CONTRACT_ACCESS_CONTROL=06ff85j89727g1f2g7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f
VITE_CONTRACT_JURISDICTION_REGISTRY=07gg96k89838h2g3h8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f
VITE_CONTRACT_EXPERT_WITNESS=08hh07l89949i3h4i9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f
VITE_NODE_URL=http://localhost:9944
VITE_INDEXER_URL=http://localhost:8088/api/v1/graphql
VITE_PROOF_SERVER_URL=http://localhost:6300
EOF
# Start local stack
docker-compose up -d
# Deploy UI
bash scripts/setup-production.sh
# Access UI
# http://localhost:5174 (will show errors but UI loads)This lets you:
- See the UI
- Test wallet connection flow
- See what errors occur
- Understand the architecture
Then when you have real addresses, update .env.prod and it'll work.
| Option | Pros | Cons | Time |
|---|---|---|---|
| Use working explorer | Real deployment | Need to find it | Variable |
| Local testing | Can start now | No real chain | 10 min |
| Wait for explorer | Official path | Blocked for now | Unknown |
| Discord community | Get help | May not respond fast | 5-30 min |
| Mock addresses | Test UI | No transactions work | 5 min |
-
Check Discord first: https://discord.com/invite/midnightnetwork
- Ask: "PreProd explorer URLs?"
- Get current status
- Find working deployment method (2-5 min)
-
If no response in 10 min, try local testing with mock addresses:
docker-compose up -d bash scripts/setup-production.sh # UI will work, transactions won't -
When you have working explorer, update addresses and deploy for real
- Midnight Docs: https://docs.midnight.network
- GitHub: https://github.com/midnightntwrk
- Discord: https://discord.com/invite/midnightnetwork
- Forum: https://forum.midnight.network
What should we try first?
Option 1: Check Discord for working explorer URL?
Option 2: Test locally with mock addresses?
Option 3: Try alternative URLs?
Let me know! 🚀