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);
|
2018-06-19 09:12:57 +03:00
|
|
|
console.log("@TODO: Get version");
|
|
|
|
const version = "4.0.0";
|
2018-06-13 22:39:39 +03:00
|
|
|
|
|
|
|
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,
|
|
|
|
|
2018-06-19 09:12:57 +03:00
|
|
|
version
|
2018-06-13 22:39:39 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
|
|
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,
|
|
|
|
}
|
|
|
|
*/
|