@faast/ethereum-payments
Version:
Library to assist in processing ethereum payments, such as deriving addresses and sweeping funds
11 lines (10 loc) • 564 B
TypeScript
import Web3 from 'web3';
import { PaymentsConnectionManager } from '@faast/payments-common';
import { EthereumPaymentsUtilsConfig } from './types';
import { EthereumPaymentsUtils } from './EthereumPaymentsUtils';
export declare class EthereumConnectionManager implements PaymentsConnectionManager<Web3, EthereumPaymentsUtilsConfig> {
connections: {};
getConnection(connected: EthereumPaymentsUtils): Web3;
getConnectionUrl(config: EthereumPaymentsUtilsConfig): string | null;
setConnection(config: EthereumPaymentsUtilsConfig, web3: Web3): Web3;
}