@hashgraphonline/standards-sdk
Version:
The Hashgraph Online Standards SDK provides a complete implementation of the Hashgraph Consensus Standards (HCS), giving developers all the tools needed to build applications on Hedera.
52 lines • 1.55 kB
TypeScript
import { HashinalsWalletConnectSDK } from '@hashgraphonline/hashinal-wc';
import { HCS20BaseClient } from './base-client';
import { DeployPointsOptions, MintPointsOptions, TransferPointsOptions, BurnPointsOptions, RegisterTopicOptions, PointsInfo, PointsTransaction } from './types';
/**
* Browser-specific HCS-20 client configuration
*/
export interface BrowserHCS20Config {
network: 'mainnet' | 'testnet';
hwc: HashinalsWalletConnectSDK;
mirrorNodeUrl?: string;
logger?: any;
registryTopicId?: string;
publicTopicId?: string;
feeAmount?: number;
}
/**
* Browser HCS-20 client for managing auditable points
*/
export declare class BrowserHCS20Client extends HCS20BaseClient {
private hwc;
private feeAmount;
constructor(config: BrowserHCS20Config);
/**
* Get operator account ID
*/
private getOperatorId;
/**
* Deploy new points
*/
deployPoints(options: DeployPointsOptions): Promise<PointsInfo>;
/**
* Mint points
*/
mintPoints(options: MintPointsOptions): Promise<PointsTransaction>;
/**
* Transfer points
*/
transferPoints(options: TransferPointsOptions): Promise<PointsTransaction>;
/**
* Burn points
*/
burnPoints(options: BurnPointsOptions): Promise<PointsTransaction>;
/**
* Register a topic in the registry
*/
registerTopic(options: RegisterTopicOptions): Promise<void>;
/**
* Submit payload to topic using HWC
*/
private submitPayload;
}
//# sourceMappingURL=browser.d.ts.map