go-ethereum/index.js

13 lines
504 B
JavaScript
Raw Normal View History

2015-01-08 08:11:20 -06: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 06:03:40 -06:00
web3.eth.contract = require('./lib/contract');
2015-01-21 11:56:30 -06:00
web3.abi = require('./lib/abi');
module.exports = web3;