mirror of https://github.com/status-im/web3.js.git
15 lines
487 B
JavaScript
15 lines
487 B
JavaScript
var web3 = require('./lib/web3');
|
|
web3.providers.HttpProvider = require('./lib/web3/httpprovider');
|
|
web3.providers.QtSyncProvider = require('./lib/web3/qtsync');
|
|
web3.eth.contract = require('./lib/web3/contract');
|
|
web3.eth.namereg = require('./lib/web3/namereg');
|
|
web3.eth.sendIBANTransaction = require('./lib/web3/transfer');
|
|
|
|
// dont override global variable
|
|
if (typeof window !== 'undefined' && typeof window.web3 === 'undefined') {
|
|
window.web3 = web3;
|
|
}
|
|
|
|
module.exports = web3;
|
|
|