
Product
Rust Support in Socket Is Now Generally Available
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.
Tiny RPC module to request methods on an ETH node
npm install nanoeth
const NanoETH = require('nanoeth/ipc')
// pass in the ipc socket path
const eth = new NanoETH('/tmp/parity.sock')
// call methods
await eth.blockNumber()
// to close the underlying socket/rpc when all
// current requests are done do
await eth.end()
For a list of supported methods see https://wiki.parity.io/JSONRPC-eth-module.html
If you are using Parity you can also use the pubsub module, to subscribe to changes:
const unsubscribe = await eth.subscribe(eth.getBlockByNumber('latest', false), function (err, block) {
if (err) return
if (parseInt(block.timestamp) > Date.now() - 1000 * 60) return unsubscribe()
console.log(block)
})
The following RPC providers are included
nanoeth/metamasknanoeth/ipcnanoeth/wsMIT
FAQs
Tiny RPC module to request methods on an ETH node
The npm package nanoeth receives a total of 1 weekly downloads. As such, nanoeth popularity was classified as not popular.
We found that nanoeth demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.

Security News
Chrome 144 introduces the Temporal API, a modern approach to date and time handling designed to fix long-standing issues with JavaScript’s Date object.

Research
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.