
Security News
GitHub Actions Pricing Whiplash: Self-Hosted Actions Billing Change Postponed
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.
eth-gas-price-suggestor
Advanced tools
A module for suggesting a reasonable successful ethereum gas price.
A module for getting the current average gas price of ethereum transactions.
npm install eth-gas-price-suggestor -S
const Eth = require('ethjs');
const provider = new Eth.HttpProvider('https://mainnet.infura.io');
const BlockTracker = require('eth-block-tracker')
const Suggestor = require('eth-gas-price-suggestor')
const blockTracker = new BlockTracker({ provider })
blockTracker.start()
const suggestor = new Suggestor({
blockTracker,
historyLength: 10, // number of blocks to average, default 20.
defaultPrice: 20000000000, // In case of network error. Default 20 gwei.
})
setInterval(async function() {
try {
const suggested = await suggestor.currentAverage()
console.log('CURRENT SUGGESTION in GWEI: ' + Eth.fromWei(suggested, 'gwei'))
} catch (e) {
console.log('failed: ', e)
}
}, 10000)
FAQs
A module for suggesting a reasonable successful ethereum gas price.
The npm package eth-gas-price-suggestor receives a total of 0 weekly downloads. As such, eth-gas-price-suggestor popularity was classified as not popular.
We found that eth-gas-price-suggestor 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.

Security News
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.