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
//bloatSpam.js | |
//Spams contract storage transactions to bloater | |
//Usage: bloatSpam(numTx, numLoops, useFaucet=true, fromAccount=eth.accounts[0]) | |
//numTx: number of transactions per batch | |
//numLoops: number of transaction batches | |
//fromAccount (optional): local account to send from | |
//useFaucet (optional): use decentralized faucet to replenish funds | |
//reddit.com/u/BroughtToUByCarlsJr | |
//Function that pauses script until pending transactions are cleared |