UNPKG

@moveflow/sui-sdk.js

Version:

Typescript SDK for MoveFlow on SUI blockchain

27 lines (26 loc) 760 B
export declare enum Network { devnet = 0, testnet = 1, mainnet = 2, unittest = 3 } export type Config = { network: Network; fullNodeUrl: string; packageObjectId: string; globalConfigObjectId: string; coinConfigsObjectId: string; incomingStreamObjectId: string; outgoingStreamObjectId: string; manageCap: string; }; export declare const TESTNET_CONFIG: Config; export declare const DEVNET_CONFIG: Config; export declare const UNITTEST_CONFIG: Config; /** * This function returns the config for a given network * * @param network the network, i.e., devnet, testnet or mainnet * @returns the config which can be used to construct a Stream object */ export declare function getConfig(network: Network): Config;