HbarSuite Docs
  • Welcome to HbarSuite
  • HbarSuite Developer Documentation
    • HbarSuite Smart Engine Applications
      • @hsuite/cross-chain-exchange
      • @hsuite/dao
      • @hsuite/exchange
      • @hsuite/launchpad
      • @hsuite/multisig
      • @hsuite/nft-exchange
    • HSuite Libraries
      • @hsuite/api-key
      • @hsuite/auth-types
      • @hsuite/auth
      • @hsuite/client-types
      • @hsuite/client
      • @hsuite/dkg-types
      • @hsuite/hashgraph-types
      • @hsuite/health
      • @hsuite/helpers
      • @hsuite/ipfs
      • @hsuite/smart-config
      • @hsuite/smart-network-types
      • @hsuite/smart-transaction-types
      • @hsuite/smartnode-sdk
      • @hsuite/snapshots
      • @hsuite/subscriptions-types
      • @hsuite/subscriptions
      • @hsuite/throttler-types
      • @hsuite/throttler
      • @hsuite/users-types
      • @hsuite/users
      • @hsuite/validators-types
  • General Documentation
    • Tokenomics
      • Tokenomics v1
      • Tokenomics V2
    • Smart Apps and Interaction
      • Subscription-Based Model
      • Token-Gate Model
    • The Smart Node Network
      • security-layer
        • Security Layer Integration
        • Setting Up Secure Clusters
        • Generating and Sharing Keys Collaboratively
        • Protecting Secrets with Shamir's Method
        • Managing Cluster Membership
        • Handling Node Expulsion and Replacement
        • Automating Responses to Network Changes & Key Rotation
        • Ensuring Continuous Operation and Recovery
      • Understanding Validators in Our System
        • Type of Validators Explained
    • What is a Smart Node?
  • Restful APIs Documentation
Powered by GitBook
On this page
  • Overview
  • Repository Structure
  • Core Libraries
  • Applications
  • Technical Stack
  • Development Guidelines
  • Library Development
  • Application Development
  • Contributing
  • License

HbarSuite Developer Documentation

PreviousWelcome to HbarSuiteNextHbarSuite Smart Engine Applications

Last updated 3 months ago

HSuite Logo

Enterprise-grade and Degen-grade Web3 Infrastructure Platform

Overview

HbarSuite is a comprehensive Web3 infrastructure platform that bridges the gap between enterprise and retail blockchain solutions. Our ecosystem provides battle-tested tools and services designed for both businesses (B2B) and consumers (B2C), enabling seamless blockchain integration, management, and scalability.

Repository Structure

The repository is organized into two main sections:

  • /libs - Core libraries and modules

  • /apps - Standalone applications

Core Libraries

Authentication & Authorization

  • auth - Core authentication module supporting both Web2 and Web3 authentication

  • auth-types - Type definitions for authentication systems

  • api-key - API key management and validation

Client & Network

  • client - Main HSUITE client module

  • smart-network - Smart Network ecosystem implementation

  • hashgraph - Hedera Hashgraph integration

Security & Access Control

  • throttler - Rate limiting and DDoS protection

  • validators - Blockchain operation validators

User Management

  • users - User management functionality

  • subscriptions - Subscription management

Distributed Systems

  • dkg - Distributed Key Generation

  • smartnode-sdk - SmartNode SDK

  • ipfs - IPFS integration

Applications

NFT Ecosystem

  • NFT Exchange

    • NFT trading platform

    • Collection management

    • Royalty system

    • Auction mechanisms

DeFi Infrastructure

  • Exchange

    • Token swapping

    • Liquidity pools

    • AMM functionality

  • Cross-chain Exchange

    • Multi-chain bridges

    • Cross-chain trading

    • Security protocols

Project Launch & Governance

  • Launchpad

    • Token sales

    • Project vetting

    • Vesting management

  • DAO Platform

    • Governance system

    • Treasury management

    • Proposal voting

Enterprise Tools

  • Multisig System

    • Multi-party approvals

    • Signature thresholds

    • Transaction management

Technical Stack

  • Backend Framework: NestJS

  • Language: TypeScript

  • Databases: MongoDB, Redis

  • Network: Hedera Hashgraph

  • Storage: IPFS

  • Containerization: Docker

  • Documentation: Swagger/OpenAPI

Development Guidelines

Library Development

  1. Type Safety

    • Use corresponding -types libraries

    • Define clear interfaces

    • Implement runtime validation

  2. Modularity

    • Independent importability

    • Minimal cross-dependencies

    • Dependency injection patterns

  3. Documentation

    • JSDoc for public APIs

    • Usage examples

    • Clear feature marking

Application Development

  1. Security First

    • Follow security best practices

    • Implement proper validation

    • Handle edge cases

  2. Testing

    • Unit tests coverage

    • Integration testing

    • Performance testing

  3. Integration

    • Cross-application compatibility

    • Shared resource management

    • Consistent API patterns

Contributing

License

This project is part of the HbarSuite ecosystem and is covered by its license terms.


Built with ❤️ by the HbarSuite Team Copyright © 2024 HbarSuite. All rights reserved.

We welcome contributions from the community. Please read our for details on our code of conduct and the process for submitting pull requests.

Contributing Guidelines