You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.
When deploying the smart contract to Ropsten network, I tried to listen to the events from the contract, however, I got an error.
There's no error when deploying the same smart contract to Ganache.
Looking at the infura documentation, it seems like they only support event filters over websockets. This library doesn't support the rpc api over websockets (yet), so events sadly can't be used with infura at the time being. That's a bit unfortunate that they don't adhere to the official rpc api :/
I've created the referencing issue to implement websocket support, which I'll hopefully get done this weekend.
Looking at the infura documentation, it seems like they only support event filters over websockets. This library doesn't support the rpc api over websockets (yet), so events sadly can't be used with infura at the time being. That's a bit unfortunate that they don't adhere to the official rpc api :/
I've created the referencing issue to implement websocket support, which I'll hopefully get done this weekend.
Thank you very much, wish you can finish this weekend.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When deploying the smart contract to Ropsten network, I tried to listen to the events from the contract, however, I got an error.
There's no error when deploying the same smart contract to Ganache.
My listening event dart code is as below:
How can I do with that error, is that the problem with https request? Thank you.
The text was updated successfully, but these errors were encountered: