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.

9 lines 397 B
import { getSignerFromPrivateKey } from 'iexec/utils'; export const getWeb3Provider = (privateKey, options = {}) => { const chainHost = options?.host ? `${options.host}` : 'bellecour'; return getSignerFromPrivateKey(chainHost, privateKey, { allowExperimentalNetworks: options?.allowExperimentalNetworks, providers: {}, }); }; //# sourceMappingURL=getWeb3Provider.js.map