npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@hashgraphonline/standards-sdk

v0.1.159

Published

The Hashgraph Online Standards SDK provides a complete implementation of the Hiero Consensus Standards (HCS), giving developers all the tools needed to build wonderful decentralized applications on the Hashgraph network. https://hol.org

Readme

Hashgraph Online Standards SDK

| | A lightweight SDK providing reference implementations for Hashgraph Consensus Standards (HCS) created by Hashgraph Online.This SDK is built and maintained by Hashgraph Online, a consortium of leading Hedera Organizations within the Hedera ecosystem.📚 Standards SDK Documentation📖 HCS Standards Documentation | | :-------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

Quick Start

npm install @hol-org/standards-sdk
# Legacy scope:
# npm install @hashgraphonline/standards-sdk

For the standalone Registry Broker client with a smaller footprint:

npm install @hol-org/rb-client

HOL-scoped distributions are published in parallel:

  • @hol-org/rb-client: registry broker client only
  • @hol-org/standards-sdk: full SDK under the HOL scope

Optional dependencies for @hol-org/rb-client

The client ships with zero network transports bundled. Install these peers when you need the related features:

  • axios + x402-axios + x402 for X402 credit purchases and payments
  • viem for EVM-based ledger authentication
  • @hashgraph/sdk for Hedera ledger authentication

Core agent search/chat flows only require a fetch implementation.

Documentation

For complete documentation, examples, and API references, visit:

Interactive CLI and Demos

Launch the bundled CLI to explore registry broker demos, inspect required env vars, and run helper scripts:

pnpm run cli

The CLI surfaces:

  • Guided registry broker demos (OpenRouter, chat history, ledger auth) plus the HCS-10 agent flows.
  • A map of required env vars so you can bootstrap Hedera credentials and adapters quickly.
  • Links back to the docs plus the demo scripts you can run manually (demo/registry-broker, demo/hcs-10).

See cli/standards-cli/README.md for advanced and non-interactive commands.

Supported Standards

  • HCS-1: File Storage
  • HCS-2: Registry and Indexing Standard
  • HCS-3: Recursive File Loading
  • HCS-7: Smart Hashinals
  • HCS-10: Trustless Peer-to-Peer Communication for Agents and AI
  • HCS-11: Decentralized Profile and Identity Standard
  • HCS-20: Auditable Points

Running Demos

The SDK includes demo implementations that showcase registry broker flows (discovery, chat, ledger auth, OpenRouter) and HCS-10 agent communication. Follow these steps to run them:

  1. Clone the repository

    git clone https://github.com/hashgraph-online/standards-sdk.git
    cd standards-sdk
  2. Install dependencies

    npm install
  3. Set up environment variables

    cp .env.example .env
  4. Edit the .env file with your Hedera credentials:

    HEDERA_ACCOUNT_ID=0.0.12345
    HEDERA_PRIVATE_KEY=your_private_key_here
    HEDERA_NETWORK=testnet
    REGISTRY_URL=https://moonscape.tech

    The CLI can also auto-persist agent state in .env if a demo is interrupted. See .env.example for generated state fields.

  5. Start a demo (or use pnpm run cli for an interactive launcher):

    npm run demo:registry-broker
    npm run demo:hcs-10

Each demo directory contains README instructions plus you can review demo/registry-broker and demo/hcs-10 for fine-grained scripts covering OpenRouter, history snapshots, ledger authentication, and fee flows.

Demo Descriptions

Inscribe Demo

The inscribe demo (demo/inscribe-demo.ts) showcases different file inscription capabilities:

  • Text inscription using buffers
  • URL-based inscriptions
  • File buffer inscriptions
  • Creating Hashinal NFTs from URLs
  • Creating Hashinal NFTs from buffers
  • Creating Hashinal NFTs from text content

Each inscription demonstrates different options and metadata capabilities.

HCS-10 AI Agent Communication Demo

The HCS-10 demo (demo/hcs-10/index.ts) demonstrates trustless peer-to-peer communication between AI agents:

  • Agent creation and registration (Alice and Bob)
  • Agent metadata and profile management
  • Connection establishment between agents
  • Sending and retrieving small messages
  • Sending and retrieving large messages with recursive storage
  • Message data processing
  • Resumable agent creation: If agent creation is interrupted, the SDK automatically resumes from where it left off using state saved in environment variables

The demo automatically handles agent funding, topic creation, and registration with the global registry. Agent creation progress is tracked in real-time and saved to the .env file, allowing recovery from any interruption.

Contributing

Please read our Contributing Guide and Code of Conduct before contributing to this project.

For bugs and feature requests, please use the issue templates.

Security

For security concerns, please refer to our Security Policy.

Maintainers

See MAINTAINERS.md for a list of project maintainers.

Resources

License

Apache-2.0