49 lines
790 B
TypeScript
49 lines
790 B
TypeScript
|
'use strict';
|
||
|
|
||
|
import { Contract, Interface } from './contracts';
|
||
|
import * as providers from './providers';
|
||
|
import * as errors from './utils/errors';
|
||
|
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,
|
||
|
|
||
|
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,
|
||
|
}
|
||
|
*/
|