@zerochain/sdk
Version:
The Züs JS SDK is a JavaScript client library that provides a convenient interface for interacting with the Züs Network. It allows developers to perform various operations such as creating and managing allocations, uploading and downloading files, executi
13 lines (12 loc) • 610 B
TypeScript
import type { NetworkDomain, ActiveWallet, NetworkConfig } from '@/types/wallet';
import type { GoWasmProxy } from '@/setup/createWasm/createProxy/createProxy';
export declare const resetGoWasm: () => void;
type ZboxAppType = 'vult' | 'blimp' | 'chalk' | 'chimney' | 'bolt' | 'atlus';
/** Set the wallet details and return the goWasm instance to call SDK methods. */
declare const getWasm: ({ domain, wallet, zboxAppType, networkConfig, }: {
domain: NetworkDomain;
wallet?: ActiveWallet;
zboxAppType?: ZboxAppType;
networkConfig?: NetworkConfig;
}) => Promise<GoWasmProxy>;
export { getWasm };