(no title)
coryl | 8 years ago
One problem I'm having is with event listening.
It seems that MetaMask doesn't yet support subscriptions, nor does my localhost testRPC instance pass it in the web3 object.
Some have suggested I need to run my own node just to listen for contract events. Has anyone figured out an easier solution?
brepl|8 years ago
fokinsean|8 years ago
zodiac|8 years ago
coryl|8 years ago
jatsign|8 years ago
coryl|8 years ago
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