Skip to content

Instantly share code, notes, and snippets.

View jmiehau's full-sized avatar

Jorge jmiehau

  • Mars
  • Tolouse
View GitHub Profile
//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