-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to listen the contract event? #18
Comments
Hello. Me and Alex (@shamatar) as main maintainers are moving our development to the new repo ➡️ https://github.com/matterinc/web3swift ⬅️ |
From @BlueFlicker on September 4, 2018 9:33 installed web3swift version is 1.1.5 |
At the moment I didn’t implement the internal event loop to query the external node for new blocks and events. The library is primary for mobile devices without 100% uptime and limited connectivity. There are examples in tests how to get the contract events (functions like “getIndexedEvents”) and you can manually setup an event loop in your app that every 10 seconds check if a new block was produced and tries to get events for specific contract in this specific block. Sincerely, Alex |
thanks. I also solved this by setup an event loop before. |
Glad to hear that, @BlueFlicker ! |
From @BlueFlicker on August 29, 2018 8:22
Hello, I don't know where the event listener.
Copied from original issue: BANKEX/web3swift#216
The text was updated successfully, but these errors were encountered: