Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@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 14 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.