trufflesuite / ganache

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
2.62k stars 679 forks source link

Log contract events #45

Open elie222 opened 6 years ago

elie222 commented 6 years ago

Is it possible to see events in Ganache client logs?

benjamincburns commented 6 years ago

Not at the moment, but I think this is an excellent idea. We'll also be adding events to the transactions pages in the ganache-ui.

mikeseese commented 5 years ago

Ganache UI 2.0 adds events (even decoded ones!). You can checkout the beta here!

klederson commented 5 years ago

Can I get access to all events via API so I can integrate my code locally?

davidmurdoch commented 5 years ago

You can do it programatically via web3's allEvents method: https://web3js.readthedocs.io/en/1.0/web3-eth-contract.html#events

thecircleoflifefree commented 4 years ago

Do we know on the roadmap starting what version of truffle will ganache 2.0 be the standard?

davidmurdoch commented 3 years ago

Reviving this issue as we think this is a fantastic idea, albeit rather difficult to implement on ganache's side.

To recap some internal conversations: