ethers.js/src.ts/ethers.ts

63 lines
999 B
TypeScript
Raw Normal View History

'use strict';
// This is empty in node, and used by browserify to inject extra goodies
2018-07-17 09:05:24 +03:00
import { platform } from './utils/shims';
import { Contract, Interface } from './contracts';
import {
Provider,
getDefaultProvider,
FallbackProvider,
EtherscanProvider,
InfuraProvider,
JsonRpcProvider,
Web3Provider,
IpcProvider,
} from './providers';
import { HDNode, SigningKey, Wallet } from './wallet';
import * as utils from './utils';
import * as wordlists from './wordlists';
import * as types from './types';
import * as errors from './utils/errors';
import { version } from './_version';
const constants = utils.constants;
export {
Wallet,
HDNode,
SigningKey,
Contract,
Interface,
getDefaultProvider,
Provider,
FallbackProvider,
EtherscanProvider,
InfuraProvider,
JsonRpcProvider,
Web3Provider,
IpcProvider,
types,
errors,
constants,
utils,
wordlists,
2018-07-17 09:05:24 +03:00
platform,
version
};