Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@parity/contracts
Advanced tools
Parity's contracts as ES6 classes.
yarn add @parity/contracts
import Api from '@parity/api';
import Contracts from '@parity/contracts';
const ethereumProvider = ...; // Put your Ethereum provider here, e.g. from MetaMask
const api = new Api(ethereumProvider);
const contracts = Contracts.get(api);
// The contracts object exposes the following contracts:
contracts.badgerefg
contracts.dappref
contracts.githubhint
contracts.registry
contracts.signaturereg
contracts.tokenreg
See the docs/ folder to see the properties of each of those contracts.
import { eip20 } from '@parity/contracts/lib/abi';
The list of available ABIs is in the src/abi/ folder.
FAQs
Parity's contracts as ES6 classes.
The npm package @parity/contracts receives a total of 1 weekly downloads. As such, @parity/contracts popularity was classified as not popular.
We found that @parity/contracts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.