This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
Replies: 1 comment 2 replies
-
There isn't an easy way to do this with only Ganache, as it's pretty low level. You could use the ganache npm package programmatically with JavaScript to listen for specific opcodes that transfer value (like CALL) via the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can I subscribe to an event when ETH is transferred to an account?
For example: I simulate a transaction from account X, to smart contract S, that will send some ETH to accounts A-D.
I want to get notified whenever the ETH is transferred to accounts A-D.
EDIT: I can see there is a "built in block explorer" for Ganache UI, I guess it means I can somehow touch it with the cli somehow. Maybe the solution is there. Can someone share how we can use this explorer please?
Beta Was this translation helpful? Give feedback.
All reactions