Guest User

Untitled

a guest
Oct 25th, 2017
801
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var counter = 0;
  2.  
  3. function startMining(times){
  4. if (counter < times){
  5. web3.eth.sendTransaction({to:"0x03df4c372a29376d2c8df33a1b5f001cd8d68b0e", from: "[YourAddress]", data: getData, gas: [GasLimit], gasPrice: web3.toWei([GasPriceInGWEI],'gwei')});
  6. console.log("sending transaction nr " + counter);
  7. //repeat the last 2 lines if you want to mine with multiple addresses
  8. counter++
  9. startMining(times);
  10. }else{
  11. console.log(": sent " + times + " transactions");
  12. console.log("sleeping 5 minutes (" + Date() + ")");
  13. admin.sleep(300);
  14. counter = 0;
  15. startMining(times);
  16. }
  17. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×