@devtion/backend
Version:
MPC Phase 2 backend for Firebase services management
16 lines • 713 B
TypeScript
import ethers from "ethers";
import { S3Client } from "@aws-sdk/client-s3";
/**
* Return a configured and connected instance of the AWS S3 client.
* @dev this method check and utilize the environment variables to configure the connection
* w/ the S3 client.
* @returns <Promise<S3Client>> - the instance of the connected S3 Client instance.
*/
export declare const getS3Client: () => Promise<S3Client>;
/**
* Returns a Prvider, connected via a configured JSON URL or else
* the ethers.js default provider, using configured API keys.
* @returns <ethers.providers.Provider> An Eth node provider
*/
export declare const setEthProvider: () => ethers.providers.Provider;
//# sourceMappingURL=services.d.ts.map