evm-blockchain-tools
Version:
This is a collection of resuseable tools to support development for EVM-powered blockchains
13 lines (12 loc) • 920 B
TypeScript
import { ALCHEMY_NETWORK, APP_NETWORK } from "../common/constants";
import { IWeb3Gateway, IWeb3GatewayFactory } from "../common/interfaces";
export declare class Web3GatewayFactory implements IWeb3GatewayFactory {
createAlchemyProvider(apiKey: string, privateKey: string, network?: ALCHEMY_NETWORK): IWeb3Gateway;
createQuicknodeProvider(quickNodeHttpsURL: string, privateKey: string, network?: APP_NETWORK): IWeb3Gateway;
createTronProvider(fullHostURL: string, apiKey: string, privateKey: string): IWeb3Gateway;
}
export declare class MockWeb3GatewayFactory implements IWeb3GatewayFactory {
createAlchemyProvider(apiKey: string, privateKey: string, network?: ALCHEMY_NETWORK): IWeb3Gateway;
createQuicknodeProvider(quickNodeHttpsURL: string, privateKey: string, network?: APP_NETWORK): IWeb3Gateway;
createTronProvider(fullHostURL: string, apiKey: string, privateKey: string): IWeb3Gateway;
}