web3.js/index.js

13 lines
504 B
JavaScript
Raw Normal View History

2015-01-08 14:11:20 +00:00
var web3 = require('./lib/web3');
var ProviderManager = require('./lib/providermanager');
web3.provider = new ProviderManager();
web3.filter = require('./lib/filter');
web3.providers.WebSocketProvider = require('./lib/websocket');
web3.providers.HttpRpcProvider = require('./lib/httprpc');
web3.providers.QtProvider = require('./lib/qt');
web3.providers.AutoProvider = require('./lib/autoprovider');
2015-01-13 12:03:40 +00:00
web3.eth.contract = require('./lib/contract');
2015-01-21 17:56:30 +00:00
web3.abi = require('./lib/abi');
module.exports = web3;