@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
31 lines (30 loc) • 1.25 kB
TypeScript
import { type AccountId, type PublicKey } from '@hiero-ledger/sdk';
import { type GenesisNetworkNodeStructure, type NodeAccountId, type ServiceEndpoint, type ToObject } from '../../types/index.js';
import { GenesisNetworkDataWrapper } from './genesis-network-data-wrapper.js';
export declare class GenesisNetworkNodeDataWrapper extends GenesisNetworkDataWrapper implements ToObject<GenesisNetworkNodeStructure> {
readonly nodeId: number;
readonly adminKey: PublicKey;
readonly description: string;
accountId: AccountId;
serviceEndpoint: ServiceEndpoint[];
grpcCertificateHash: string;
readonly deleted: boolean;
constructor(nodeId: number, adminKey: PublicKey, description: string);
/**
* @param fqdnOrIpAddress - a fully qualified domain name or an IPv4 address
* @param port
*/
addServiceEndpoint(fqdnOrIpAddress: string, port: number): void;
toObject(): {
accountId: NodeAccountId;
adminKey: PublicKey;
deleted: boolean;
description: string;
gossipCaCertificate: string;
gossipEndpoint: ServiceEndpoint[];
grpcCertificateHash: string;
nodeId: number;
serviceEndpoint: ServiceEndpoint[];
weight: number;
};
}