mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-23 19:48:13 +00:00
15 lines
363 B
JavaScript
15 lines
363 B
JavaScript
// dont override global variable
|
|
if (typeof web3 !== 'undefined') {
|
|
var web3;
|
|
}
|
|
|
|
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.abi = require('./lib/solidity/abi');
|
|
|
|
|
|
|
|
module.exports = web3;
|