
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
block-filler
Advanced tools
Simple cl tool for spamming ethereum nodes with block filling transactions
A simple command line tool for spamming ethereum nodes with block filling transactions using deployed smart contracts.
npm install -g block-filler
> blockfiller --help
Usage: blockfiller [options]
Options:
--help Show help [boolean]
--version Show version number [boolean]
--jobfilepath, -j, -f Path to input file. [string] [required]
--accountfilepath, -a Path to an account file containing addresses and
private keys. These can be used as "from" accounts and
signing the transactions locally. [string]
The script works with jobs given as input. They are specified in a JSON file as objects in an array:
string): the rpc endpoint of an ethereum node,num): how many transactions are sent at onceobject): transaction object as in web3
gas limitbool): whether to fill the blocks with more time consuming slow operations or relatively overpriced fast ones (default: fast)bool) whether to execute job only once or run it in an infinite loopbool) whether to wait until the whole batch is mined or notSee an example below.
blockfiller -f ./jobs.json -a ./accounts.json
Example content of a jobs file (jobs.json):
[
{
"rpc": "http://localhost:8545",
"batchNum": 10,
"tx": {
"from": "0xb5ee8b57b0519a32b9c6d9689bc645f3edf51302",
"gas": 7999000,
"gasPrice": 61
},
"once": true
},
{
"rpc": "https://volta-rpc.energyweb.org",
"batchNum": 1,
"tx": {
"from": "0xb5125eb59b200e36cf06adb57ea948ac9e6202a0",
"gas": 7999000,
"gasPrice": 200
},
"slow": true
},
{
"rpc": "https://tobalaba-rpc.energyweb.org",
"batchNum": 1,
"tx": {
"from": "0xb5125eb59b200e36cf06adb57ea948ac9e6202a0",
"gas": 1000000,
"gasPrice": 1000000000
},
"noWaitForAll": true
}
]
Example content of accounts file (accounts.json). These are added to web3's software wallet and used for signing locally:
[
{
"address": "0xb5ee8b57b0519a32b9c6d9689bc645f3edf51302",
"privateKey": "0x..."
},
{
"address": "0xb5125eb59b200e36cf06adb57ea948ac9e6202a0",
"privateKey": "0x..."
}
]
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.
SemVer is used for versioning. For the versions available, see the tags on this repository.
This project is licensed under the GPLv3.0 License - see the LICENSE.md file for details.
FAQs
Simple cl tool for spamming ethereum nodes with block filling transactions
We found that block-filler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.