Environments and endpoints
Midnight uses dedicated network services such as RPC nodes, indexer API, and proof server to power DApp development and interaction across the Preview and Preprod environments.
Preview
The Preview environment is intended for early-stage development and experimentation. Use these endpoints to connect your DApp to Midnight Preview environment.
| Service | URL |
|---|---|
| Node RPC | https://rpc.preview.midnight.network |
| Proof server | https://lace-proof-pub.preview.midnight.network |
| Indexer (GraphQL) | https://indexer.preview.midnight.network/api/v4/graphql |
| Faucet UI | https://faucet.preview.midnight.network/ |
| Block explorer | https://explorer.preview.midnight.network |
| cNgD DApp | https://dust.preview.midnight.network |
Preprod
The Preprod environment is designed for final testing before mainnet deployment. Use these endpoints to connect your DApp to Midnight Preprod environment.
| Service | URL |
|---|---|
| Node RPC | https://rpc.preprod.midnight.network |
| Proof server | https://lace-proof-pub.preprod.midnight.network |
| Indexer (GraphQL) | https://indexer.preprod.midnight.network/api/v4/graphql |
| Faucet UI | https://faucet.preprod.midnight.network/ |
| Block explorer | https://explorer.preprod.midnight.network |
| cNgD DApp | https://dust.preprod.midnight.network |