---
title: "Local, Self-Hosted, or Third-Party? Selecting a JSON RPC Relay for Your Project"
id: "15583"
type: "post"
slug: "selecting-a-json-rpc-relay-for-your-project"
published_at: "2025-05-21T12:53:00+00:00"
modified_at: "2025-12-08T18:06:45+00:00"
url: "https://hedera.com/blog/selecting-a-json-rpc-relay-for-your-project/"
markdown_url: "https://hedera.com/blog/selecting-a-json-rpc-relay-for-your-project.md"
excerpt: "When developing smart contracts on Hedera, choosing the right JSON RPC relay setup significantly impacts your workflow, testing speed, and scalability. Should you use a Hedera Local Node for rapid isolated tests, run your own relay for maximum flexibility, or..."
taxonomy_category:
  - "Uncategorized"
taxonomy_post_tag:
  - "technical"
---

[Skip to content](#content)
blog

# Local, Self-Hosted, or Third-Party? Selecting a JSON RPC Relay for Your Project

May 21, 2025

![Michiel Mulders](/wp-content/uploads/2025/12/small-profile-pic-michiel-dec-2022.jpeg)

Michiel Mulders

Developer Relations

When working with smart contracts on Hedera, one critical decision developers face is how to set up their JSON RPC relay. This relay allows you to deploy, query, and interact with smart contracts on the Hedera network. Let’s compare three popular approaches to help you decide the best method for your project.

#### **1. Hedera Local Node with Built-in JSON RPC Relay**

[Hedera Local Node](https://docs.hedera.com/hedera/tutorials/local-node/how-to-set-up-a-hedera-local-node)
 provides a ready-to-use, self-contained environment ideal for development, testing, and debugging. It simulates the Hedera network locally, enabling developers to rapidly prototype and debug their smart contracts without relying on external networks. In other words, it offers a complete sandboxed environment for thorough testing and experimentation.

**Pros:**

- Ideal for local testing and development.
- Isolation from external interference ensures consistent test conditions.
- Significantly faster than the testnet (smart contract tests run approximately 5–10x quicker).
- Unlimited availability of testnet HBAR to facilitate extensive and repeated tests.
- Comes preconfigured, reducing setup complexity.
- Easy to reset for repeatable testing scenarios.

**Cons:**

- Only suitable for local environments, not suitable for production.
- Limited scalability and inability to simulate live network conditions accurately.

**When to Use:**

- Recommended for local development, integration tests, and end-to-end tests.
- Ideal when isolation from external interference is essential.
- Requires decent hardware specifications; may not run optimally on older or less powerful machines.

#### **2. Running Your Own JSON RPC Relay**

[Running your own JSON RPC relay](https://docs.hedera.com/hedera/core-concepts/smart-contracts/json-rpc-relay)
 gives developers control and flexibility over their environment, catering specifically to their project’s needs.

**Pros:**

- Complete control over the relay configuration and availability.
- Flexibility to scale up/down based on project needs.
- Ability to switch between different Hedera networks (testnet, previewnet, mainnet), which is especially useful for thorough application testing and validation.
- Avoids congestion typically found in shared third-party services.

**Cons:**

- Requires dedicated infrastructure management and maintenance.
- Additional overhead in managing the infrastructure and ensuring uptime.

**When to Use:**

- Suitable for projects transitioning from testing to production.
- Ideal for DApps requiring high reliability and scalability.

#### **3. Using a Third-Party JSON RPC Relay Service**

Hedera supports several paid third-party JSON RPC Relay services, detailed[here](https://docs.hedera.com/hedera/core-concepts/smart-contracts/json-rpc-relay)
. These services eliminate the need for infrastructure setup and maintenance, providing a hassle-free way to interact with smart contracts on Hedera.

**Pros:**

- No infrastructure management is required to reduce operational overhead.
- Quick setup and easy to start.
- Typically include service-level agreements (SLAs) for reliability.

**Cons:**

- Ongoing fees for usage.
- Potential downtime or disruptions, depending on the service provider’s infrastructure.
- Limited control over infrastructure and configurations.

**When to Use:**

- Beneficial for projects prioritizing convenience over infrastructure management.
- Suitable for both testing and production, depending on the service provider’s reliability guarantees.

**Note on Hashio:**[Hashio](https://www.hashgraph.com/hashio/)
 is a free, third-party JSON RPC Relay provided by Hashgraph and is intended only for testing. Due to network load, it can occasionally become busy, making it unsuitable for production scenarios but great for devs exploring Hedera.

#### **Comparison Summary**

![Image](https://hedera.com/wp-content/uploads/2025/12/HH60115_SelectingAJSON_Table-V2.png)

#### **Conclusion**

Selecting the right JSON RPC relay approach depends on your project’s stage, scalability needs, and resources available. Start with the Hedera Local Node for isolated testing, migrate to your own relay for production control, or leverage third-party services for convenience.

Ultimately, combining these approaches strategically as your project evolves is key to efficient and effective smart contract development on Hedera.

[Back to Blog](/blog)

discover

See more articles

[View All](/blog)

![Image](https://hedera.com/wp-content/uploads/2026/08/Regulation_Blog-1024x576.png)

August 5, 2026

### Details decide. What digital asset policy did in July 2026

Halfway through 2026, the regulatory picture is coming into focus. Hedera Chief Policy Officer Nilmini Rubin and VP Global Policy Isadora Arredondo break down what moved in June across the

[Read More](https://hedera.com/blog/details-decide-what-digital-asset-policy-did-in-july-2026/)

![Deploy Multichain Dapps](https://hedera.com/wp-content/uploads/2026/07/HH600301_DeployMultichainDapps_Final-1024x576.png)

July 17, 2026

### Deploy Multichain Dapps on Hedera in 60 Seconds with scaffold-hbar

Deploying multichain dapps on Hedera has never been easier! With just one command, you can spin up a fully functional dapp using Next.js, Hardhat or Foundry, and AI agent context…

[Read More](https://hedera.com/blog/deploy-multichain-dapps-on-hedera-in-60-seconds-with-scaffold-hbar/)

![Regulation is finding its form](https://hedera.com/wp-content/uploads/2026/07/Regulation_Blog-1-1024x576.png)

July 13, 2026

### Regulation is finding its form in summer 2026

Halfway through 2026, the regulatory picture is coming into focus. Hedera Chief Policy Officer Nilmini Rubin and VP Global Policy Isadora Arredondo break down what moved in June across the

[Read More](https://hedera.com/blog/regulation-is-finding-its-form-in-summer-2026/)

## Ready to get started?

Discover why Hedera is the trusted institutional-grade network powering the new digital economy.

[Start Building](/start-building)

[Contact](/contact)

We use cookies to deliver the best experience on our website and to analyze traffic. By continuing to use this site, you consent to our cookie policy.

Review our [Privacy Policy](/privacy)
 to understand how Hedera collects and uses information.

Accept All CookiesAccept Necessary Cookies
