Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@iqprotocol/eip155
Advanced tools
This package is part of [IQ Protocol JS SDK.](https://github.com/iqlabsorg/iq-sdk-js)
This package is part of IQ Protocol JS SDK.
:exclamation: The package is in development and breaking changes should be expected. Use at your own risk! |
---|
The package includes Blockchain Provider Interface implementation which allows interacting with IQ Protocol smart contracts deployed to EVM powered blockchain.
Whereas there are many EVM powered blockchains, IQ protocol smart contracts can be deployed to any EVM-compatible blockchain and this package can be used to interact with them.
The package name comes from EIP-155 which was the first adopted proposal which allowed to uniquely identify EVM-compatible blockchains and networks.
Use this package when you want to communicate with IQ Protocol smart contracts deployed to EVM-based blockchains (e.g. Ethereum, Binance Smart Chain).
This package requires ethers.js peer dependency, so it needs to be installed too.
yarn add @iqprotocol/eip155 ethers
You need to provide a Signer which suits your use-case. For example, VoidSigner
is enough for reading data.
import { EIP155BlockchainProvider } from '@iqprotocol/eip155';
import { VoidSigner } from 'ethers';
const clientAddress = '0x...';
const blockchain = new EIP155BlockchainProvider({
signer: new VoidSigner(clientAddress),
});
const enterpriseAddress = '0x...';
const serviceAddress = '0x...';
const enterpriseInfo = await blockchain.enterprise(enterpriseAddress).getInfo();
const serviceInfo = await blockchain.service(serviceAddress).getInfo();
FAQs
This package is part of [IQ Protocol JS SDK.](https://github.com/iqlabsorg/iq-sdk-js)
The npm package @iqprotocol/eip155 receives a total of 74 weekly downloads. As such, @iqprotocol/eip155 popularity was classified as not popular.
We found that @iqprotocol/eip155 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 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.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.