I have some Events setup in my solidity contract.
And I am watching them using:
myContract.MyEventName().watch(function(error, result){
console.log(JSON.stringify(result.args));
});
However the problem is that when you initially load the javascript it is outputting every Event that has ever occurred. I only want to receive notice of Events that occur after the watch is loaded.
So start watching and receive a notice every time MyEventName() event is triggered after that. Without receiving X number of notices for every time that MyEventName() has ever been run before.
Comments