ethers.js/src.ts/index.ts
2018-07-12 02:49:48 -04:00

59 lines
888 B
TypeScript

'use strict';
// This is empty in node, and used by browserify to inject extra goodies
import {} from './utils/shims';
import { Contract, Interface } from './contracts';
import * as providers from './providers';
import * as errors from './utils/errors';
import { getNetwork } from './providers/networks';
import * as utils from './utils';
import { HDNode, SigningKey, Wallet } from './wallet';
import * as wordlists from './wordlists';
import { version } from './_version';
const constants = utils.constants;
export {
Wallet,
HDNode,
SigningKey,
Contract,
Interface,
getNetwork,
providers,
errors,
constants,
utils,
wordlists,
version
};
export default {
Wallet,
HDNode,
SigningKey,
Contract,
Interface,
getNetwork,
providers,
errors,
constants,
utils,
wordlists,
version
}