60 lines
879 B
TypeScript
60 lines
879 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 providers from './providers';
|
|
import * as errors from './utils/errors';
|
|
import { getNetwork } from './providers/networks';
|
|
import 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
|
|
}
|