Timeline for Solidity events on react not firing
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 8, 2018 at 0:25 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jun 5, 2018 at 6:32 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Apr 13, 2018 at 9:05 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Mar 6, 2018 at 22:56 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Feb 3, 2018 at 16:07 | history | edited | Andrew Katsewich | CC BY-SA 3.0 |
UPD
|
Jan 28, 2018 at 21:31 | answer | added | willjgriff | timeline score: 1 | |
Jan 28, 2018 at 13:45 | comment | added | Andrew Katsewich | @willjgriff, Yep, exactly, but I use truffle-contract and json file to get contract, like this: import { default as contract } from 'truffle-contract' import loto_artifacts from './Loto.json' var Loto = contract(loto_artifacts); Loto.setProvider(web3.currentProvider); Again, I think problem more like in react or something between them, I tried web3 0.20.4 and 1.0.0-29beta, both works for functions and everything but not events. | |
Jan 28, 2018 at 10:49 | comment | added | willjgriff |
To get a reference to the Loto contract are you doing something similar to this const Loto = Contract(LotoContract); Loto.setProvider(web3.currentProvider) ? Where web3 is from the injected provider eg MetaMask.
|
|
Jan 28, 2018 at 9:02 | history | edited | Andrew Katsewich | CC BY-SA 3.0 |
added 90 characters in body
|
Jan 28, 2018 at 8:59 | review | First posts | |||
Jan 28, 2018 at 9:29 | |||||
Jan 28, 2018 at 8:56 | history | asked | Andrew Katsewich | CC BY-SA 3.0 |