---
title: "Getting Started With the Hedera Consensus Service (JavaScript Tutorial)"
id: "15749"
type: "post"
slug: "getting-started-with-the-hedera-consensus-service-javascript-tutorial"
published_at: "2023-05-08T10:46:00+00:00"
modified_at: "2025-12-08T18:26:36+00:00"
url: "https://hedera.com/blog/getting-started-with-the-hedera-consensus-service-javascript-tutorial/"
markdown_url: "https://hedera.com/blog/getting-started-with-the-hedera-consensus-service-javascript-tutorial.md"
excerpt: "// intro – req – what to expect? What is the Hedera Consensus Service? The Hedera Consensus Service (HCS) makes it possible for existing centralized platforms (such as auction sites, stock exchanges, and MMO games) to achieve the trust of..."
taxonomy_category:
  - "Uncategorized"
---

[Skip to content](#content)
blog

# Getting Started With the Hedera Consensus Service (JavaScript Tutorial)

May 8, 2023

Michiel Mulders

Developer Relations

// intro – req – what to expect?

#### What is the Hedera Consensus Service?

The Hedera Consensus Service (HCS) makes it possible for existing centralized platforms (such as auction sites, stock exchanges, and MMO games) to achieve the trust of being decentralized while still having the privacy and performance of being centralized as it can process up to 10,000 transactions per second. In other words, many use cases don’t require complete decentralization and the complexities it comes with.

Most use cases can benefit from implementing the Hedera Consensus Service into one of their existing processes to integrate distributed trust or asset provenance. HCS has been designed to be a lightweight service that can be quickly integrated into existing processes.

In short, the Hedera Consensus Service offers the following benefits:

- Provides the distributed trust of a public network
- Enables developers to build native applications on dedicated central servers that are highly efficient and low cost
- Enables the use of a public network for trust while protecting private information in private servers
- Eliminates the up-front and ongoing costs associated with creating a private network

#### Code Setup

This tutorial uses JavaScript code. Make sure you have Node.js version 18 or higher installed.

[Back to Blog](/blog)

discover

See more articles

[View All](/blog)

October 1, 2026

### Introducing MirrorNodeAccountBalanceQuery: The SDK-Native Migration Path for AccountBalanceQuery

MirrorNodeAccountBalanceQuery is available now in the JavaScript, Java, and Go Hiero SDKs, giving developers a native way to read an account’s HBAR balance from the Mirror Node REST API without

[Read More](https://hedera.com/blog/mirrornodeaccountbalancequery-the-sdk-native-migration-path-for-accountbalancequery/)

September 24, 2026

### Hedera Contributes Hashgraph-Developed CLPR to Linux Foundation Decentralized Trust Labs

Donated by Hedera, CLPR, the cross-ledger protocol developed by Hashgraph, is now an open source lab under Linux Foundation Decentralized Trust – allowing the open-source community to help shape, test

[Read More](https://hedera.com/blog/hedera-contributes-hashgraph-developed-clpr-to-lfdt/)

September 22, 2026

### Atomic Batch Transactions No Longer Support Smart Contract Calls

Smart contract calls submitted as inner transactions of an Atomic Batch Transaction enter a six-month deprecation period, with removal planned for March 2027. Atomic batch transactions remain fully supported for

[Read More](https://hedera.com/blog/atomic-batch-transactions-no-longer-support-smart-contract-calls/)

## 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
