ethers.js/src.ts/index.ts

51 lines
853 B
TypeScript
Raw Normal View History

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-15 11:18:17 +03:00
import { networks } 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-15 11:18:17 +03:00
networks,
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,
}
*/