You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
416 B
14 lines
416 B
10 years ago
|
var web3 = require('./lib/web3');
|
||
10 years ago
|
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');
|
||
10 years ago
|
|
||
10 years ago
|
// dont override global variable
|
||
|
if (typeof window !== 'undefined' && typeof window.web3 === 'undefined') {
|
||
|
window.web3 = web3;
|
||
|
}
|
||
10 years ago
|
|
||
10 years ago
|
module.exports = web3;
|
||
10 years ago
|
|