@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.
10 lines (9 loc) • 317 B
TypeScript
interface GetOptions {
ipfsGateway?: string;
}
interface AddOptions extends GetOptions {
ipfsNode?: string;
}
declare const get: (cid: any, { ipfsGateway }?: GetOptions) => Promise<Uint8Array>;
declare const add: (content: any, { ipfsNode, ipfsGateway }?: AddOptions) => Promise<string>;
export { add, get };