Problem with events on web3

Cryptocurrency News and Public Mining Pools

Problem with events on web3

I have deployed a standard ERC-721 contract. Now I a, trying to call the mint function. It works fine via Remix. But when I call it via web3 on my node js server – it doesn't receive any events. No Tranfer events, no event getPastEvents, neither allEvents.

I tried connecting to different servers (not only Infura, as far as I know there is problems with events, isn't it?. All connections are set via WebSockets.

When I create an event, It connects and fires a "connected" event. But nothing else. What could be wrong?

submitted by /u/gen4doc
[link] [comments]

Facebook Comments