This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is free and unencumbered software released into the public domain. | |
// | |
// Paste this function into the JavaScript console and execute like so: | |
// sendLots(eth.coinbase, eth.accounts[1]) | |
// This can be saved to a file and loaded with loadScript('/path/to/sendLots.js') | |
sendLots = function(fromAccount, toAccount) { | |
loops = 5; | |
txcount = 2; | |
waitBlocks = 1; | |
data = ""; |