
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
eth-integration
Advanced tools
Web3 Library that makes it easier to connect to ethereum with metamask.
Web3 Library that makes it easier to connect to ethereum with metamask.
Optional: abi (deployed contract's ABI)
let eth = new EthIntegrate.EthIntegrate(abi=data.abi);
eth.getAccounts().then(accounts => {
console.log(accounts)
})
let token = '0xc2118d4d90b274016cb7a54c03ef52e6c537d957'
eth.checkErc20Balance(token).then(balance => {
console.log(`Balance (${token}): , ${web3.utils.fromWei(balance)}`)
})
eth.queryContract(CONTRACT_ADDRESS, QUERY_METHOD_NAME, [ ARGUMENTS ])
.then(resp => {
console.log(resp)
})
.catch( err => {
console.log(err)
})
eth.queryContract(CONTRACT_ADDRESS, TRANSACT_METHOD_NAME, [ ARGUMENTS ])
.then(resp => {
console.log(resp)
})
.catch( err => {
console.log(err)
})
FAQs
Web3 Library that makes it easier to connect to ethereum with metamask.
We found that eth-integration 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.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.