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/enterprise
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! |
---|
This package provides higher level abstraction over IQ Protocol smart contracts, allowing application developers to work with IQ enterprises and services regardless of the underlying blockchain.
Use this package to communicate with IQ Enterprises and Services deployed on-chain.
yarn add @iqprotocol/enterprise
import { EnterpriseFactory } from '@iqprotocol/enterprise';
import { EIP155BlockchainProvider } from '@iqprotocol/eip155';
const blockchain = new EIP155BlockchainProvider(...);
const chainId = await blockchain.getChainId();
const accountId = new AccountId({ address: '0x...', chainId });
const enterpriseFactory = new EnterpriseFactory(blockchain);
const enterprise = await enterpriseFactory.create(accountId);
const enterpriseInfo = await enterprise.getInfo();
const services = await enterprise.getServices();
const serviceInfo = await services[0].getInfo();
FAQs
This package is part of [IQ Protocol JS SDK.](https://github.com/iqlabsorg/iq-sdk-js)
The npm package @iqprotocol/enterprise receives a total of 12 weekly downloads. As such, @iqprotocol/enterprise popularity was classified as not popular.
We found that @iqprotocol/enterprise 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.