go-ethereum/index.js

12 lines
471 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');
module.exports = web3;