Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
ethwatch-client
Advanced tools
Watch Ethereum/EVM log events in a secure, robust, and scalable way
EthWatch is a decentralized distribution network for EVM smart contract events. It allows apps to listen to events in a scalable and secure way, instead of polling a blockchain node via RPC or other centralized API.
EthWatch is great for oracles, bridges, and other blockchain-adjacent backends, as well as DEXes, DeFi pools, and other dapp frontends that wish to improve UX by displaying chain events in realtime.
EthWatch is currently heavily WIP. It shouldn't be relied on by anything valuable.
Check out a live demo here.
This is the JS library that web and node.js-based apps can use to subscribe to smart contract events via EthWatch.
npm install ethwatch-client
import { EthWatch } from 'ethwatch-client'
const ethWatch = new EthWatch({
chain: 'ethereum'
})
ethWatch.watch(contractAddress, abi).then((contract) => {
contract.on('event', (event) => {
console.log(event.parsed)
})
})
The EthWatch
constructor options and their default values:
const ethWatch = new EthWatch({
chain: 'ethereum', // Name of the chain to connect to
quorum: 0.5, // Between 0 and 1, this is the ratio of seed nodes that must report an event before it's passed to the application
})
TODO: tests TODO: handle changes in seed node set TODO: ability to wait N block confirmations on top of events TODO: optimize web package size (by only bringing in relevant modules of ethers?)
FAQs
Watch Ethereum/EVM log events in a secure, robust, and scalable way
The npm package ethwatch-client receives a total of 0 weekly downloads. As such, ethwatch-client popularity was classified as not popular.
We found that ethwatch-client 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.