@hsuite/smart-network-types
A comprehensive TypeScript type definitions library for the Smart Network ecosystem, providing interfaces and models for network operations, membership management, operator controls, and smart node functionality.
Overview
The @hsuite/smart-network-types
package serves as the foundational type system for the Smart Network module, offering a robust set of TypeScript interfaces and models. It provides type safety and consistent data structures across the Smart Network ecosystem.
Installation
Requirements
Peer Dependencies
@nestjs/common: ^10.4.2
@nestjs/core: ^10.4.2
Dependencies
@hsuite/nestjs-swagger: 2.0.0
@hsuite/did-sdk-js: ^1.0.3
@hsuite/vc-sl-sdk-js: ^1.0.3
Core Components
The library is organized into four main domains:
1. Network
Provides types and interfaces for network configuration and management:
Network configuration
Protocol settings
Chain management
Network state tracking
2. Membership
Defines structures for managing network participants:
Membership lifecycle
Stake management
Rewards tracking
Status updates
3. Operator
Contains types for operator management:
Operator roles
Permissions
Activity tracking
Performance metrics
4. Smart Node
Encompasses definitions for node operations:
Node operations
Performance monitoring
Resource management
System diagnostics
Usage
Documentation
The library uses Compodoc for documentation. To generate and view the documentation:
To check documentation coverage:
Project Structure
Version
Current version: 2.0.0
License
This package is part of the HSuite Enterprise ecosystem.
Built with ❤️ by the HbarSuite Team Copyright © 2024 HbarSuite. All rights reserved.
Last updated