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.

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