How to Run Hedera Local Node in a Cloud Development Environment (CDE)
The Hedera Local Node project enables developers to establish their own local network for development and testing. The local network comprises the consensus node, mirror node, JSON-RPC relay, and other Hedera services be set up without Docker and draining your computer’s resources by using .Cloud Development Environments (CDEs). CDEs allows developers to work from any device without the need to maintain static and brittle local development environments.
Available Services
The Hedera local node comes with various services, each serving different functions, and accessible locally. These are the endpoints for each service:
Type | Endpoint |
---|---|
Consensus Node Endpoint | |
Mirror Node GRPC Endpoint | |
Mirror Node REST API Endpoint | |
JSON RPC Relay Endpoint | |
JSON RPC Relay Websocket Endpoint | |
Mirror Node Explorer (HashScan) | |
Grafana UI | |
Prometheus UI |
You may access these services on localhost
, and these endpoints are set up to be accessed from your own computer as if they were running locally. Since Gitpod and Codespaces are cloud-based development environments, “localhost” here refers to a virtual environment on cloud servers that you're accessing through your browser. Gitpod and Codespaces redirects these local addresses to your cloud workspace, making it feel as though you're working on a local setup.
Last updated