2018-06-13 22:39:39 +03:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
import { Contract, Interface } from './contracts';
|
|
|
|
import * as providers from './providers';
|
|
|
|
import * as errors from './utils/errors';
|
2018-06-18 12:42:41 +03:00
|
|
|
import { getNetwork } from './providers/networks';
|
2018-06-13 22:39:39 +03:00
|
|
|
import utils from './utils';
|
|
|
|
import { HDNode, SigningKey, Wallet } from './wallet';
|
|
|
|
|
|
|
|
//import info from '../package.json';
|
|
|
|
//console.log(info);
|
|
|
|
//const version = 4; //info.version;
|
|
|
|
|
|
|
|
export {
|
|
|
|
Wallet,
|
|
|
|
|
|
|
|
HDNode,
|
|
|
|
SigningKey,
|
|
|
|
|
|
|
|
Contract,
|
|
|
|
Interface,
|
|
|
|
|
2018-06-18 12:42:41 +03:00
|
|
|
getNetwork,
|
2018-06-13 22:39:39 +03:00
|
|
|
providers,
|
|
|
|
|
|
|
|
errors,
|
|
|
|
utils,
|
|
|
|
|
|
|
|
// version
|
|
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
|
|
export default {
|
|
|
|
Wallet: wallet.Wallet,
|
|
|
|
|
|
|
|
HDNode: wallet.HDNode,
|
|
|
|
SigningKey: wallet.SigningKey,
|
|
|
|
|
|
|
|
// Contract: contracts.Contract,
|
|
|
|
// Interface: contracts.Interface,
|
|
|
|
|
|
|
|
// networks: providers.networks,
|
|
|
|
// providers: providers,
|
|
|
|
|
|
|
|
errors: errors,
|
|
|
|
utils: utils,
|
|
|
|
|
|
|
|
// version: version,
|
|
|
|
}
|
|
|
|
*/
|