ethers.js/index.js

32 lines
693 B
JavaScript
Raw Normal View History

2016-07-25 10:55:16 +03:00
'use strict';
/*
var contracts = require('ethers-contracts');
var HDNode = require('ethers-hdnode');
//var providers = require('providers');
var utils = require('ethers-utils');
var Wallet = require('ethers-wallet');
*/
2016-07-14 20:43:15 +03:00
var contracts = require('./contracts/index.js');
2017-02-27 08:09:07 +03:00
var providers = require('./providers/index.js');
var utils = require('./utils/index.js');
2017-03-08 09:50:12 +03:00
var wallet = require('./wallet/index.js');
2016-07-14 20:43:15 +03:00
module.exports = {
2017-03-08 09:50:12 +03:00
Wallet: wallet.Wallet,
2016-07-14 20:43:15 +03:00
2017-03-08 09:50:12 +03:00
HDNode: wallet.HDNode,
2016-07-14 20:43:15 +03:00
Contract: contracts.Contract,
Interface: contracts.Interface,
2016-07-14 20:43:15 +03:00
2017-02-27 08:09:07 +03:00
providers: providers,
2016-07-14 20:43:15 +03:00
2017-04-05 00:35:34 +03:00
utils: utils,
2016-07-16 06:47:35 +03:00
2017-03-08 09:50:12 +03:00
_SigningKey: wallet._SigningKey,
};
require('ethers-utils/standalone.js')(module.exports);