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.
@appliedblockchain/chainlink-plugins-api-consumer
Advanced tools
Hardhat TypeScript plugin that interacts with chainlink api consumer contract.
A Hardhat plugin that interacts with the Chainlink API Consumer contract.
This plugin will help you read data from a Chainlink API Consumer and call functions to update the data.
To install this plugin use:
npm install @appliedblockchain/chainlink-plugins-api-consumer @nomiclabs/hardhat-ethers --save
Import the plugin in your hardhat.config.js
:
require("@appliedblockchain/chainlink-plugins-api-consumer");
Or if you are using TypeScript, in your hardhat.config.ts
:
import "@appliedblockchain/chainlink-plugins-api-consumer";
This plugin adds two tasks to interact with a API Consumer contract.
Read the contract data.
npx hardhat read-data --contract <contract address>
Request the data to be updated. It may take some minutes until a Chainlink node updates the data.
npx hardhat request-data --contract <contract address>
This plugin adds the functions readData
and requestData
to the Hardhat Runtime Environment.
Read the contract data.
hre.readData(hre,contractAddress);
Request the data to be updated. It may take some minutes until a Chainlink node updates the data.
hre.requestData(hre,contractAddress);
This plugin does not require configuration.
There are no additional steps you need to take for this plugin to work.
Install it and access the provided functions and the provided tasks through the Hardhat Runtime Environment anywhere you need it.
FAQs
Hardhat TypeScript plugin that interacts with chainlink api consumer contract.
The npm package @appliedblockchain/chainlink-plugins-api-consumer receives a total of 8 weekly downloads. As such, @appliedblockchain/chainlink-plugins-api-consumer popularity was classified as not popular.
We found that @appliedblockchain/chainlink-plugins-api-consumer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 27 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.