UNPKG

@iexec/web3telegram

Version:

Enables secure, blockchain-based messaging by encrypting Telegram user IDs for privacy. It lets users message Ethereum account holders without knowing their Telegram details.

26 lines (25 loc) 1.03 kB
export declare const MAX_DESIRED_DATA_ORDER_PRICE = 0; export declare const MAX_DESIRED_APP_ORDER_PRICE = 0; export declare const MAX_DESIRED_WORKERPOOL_ORDER_PRICE = 0; export declare const ANY_DATASET_ADDRESS = "any"; interface ChainConfig { name: string; dappAddress?: string; prodWorkerpoolAddress: string; dataProtectorSubgraph: string; ipfsUploadUrl: string; ipfsGateway: string; whitelistSmartContract: string; isExperimental?: boolean; } export declare const CHAIN_CONFIG: Record<number, ChainConfig>; export declare const getChainDefaultConfig: (chainId: number, options?: { allowExperimentalNetworks?: boolean; }) => ChainConfig | null; /** * When `ethProvider` is a string, it may be an RPC URL, a decimal chain id, or an * iExec chain host name (see each chain's `name` in CHAIN_CONFIG). RPC URLs are not * resolved here (returns undefined); JsonRpcProvider handles those. */ export declare function tryResolveChainIdFromProviderString(hint: string): number | undefined; export {};