i want to send a transaction every 10 seconds and observer it in truffle. In the course there is described how to send a single transaction, but is there a way to send it every 10 seconds with help of a javascript?
Something like:
Greetings.deployed().then(function(instance){app=instance;})
for( var i=0;i<10;i++){
//wait for 10 seconds
app.increaseCount();
}
But how can i implement the waiting function and how can i call the script from powershell?