Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Understanding Ethereum Smart Contracts. Parent comment
I instantiate the web3 object as such: web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545"));
When I try to setup an event listener, console logs this:
Error: The current provider doesn't support subscriptions: HttpProvider
There are no comments on this comment yet.
I instantiate the web3 object as such: web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545"));
When I try to setup an event listener, console logs this:
Error: The current provider doesn't support subscriptions: HttpProvider