Closed koteld closed 8 months ago
consider whether we should add npm-link https://docs.npmjs.com/cli/v8/commands/npm-link
so that we can use the PR version of the code in a sample project to test ?
In order to test that PR without publishing package to NPM you can:
npm build
-> it will produce files necessary for the packagenpm pack
-> it will create a .tgz file of the packagenpm install path/to/package.tgz
require("@chainlink/hardhat-chainlink");
to thehardhat.config.js
in your Hardhat project
That is it!Hi @zeuslawyer, After you approved my PR, I had to make several changes to the toolkit documentation and some small changes to the project structure, variables names, and usage of functions-toolkit. Consequently, merging is blocked again by the repository rules. Could you please review the PR once more?
Thank you.
NPM package "@chainlink/functions-toolkit" integrated to the Hardhat-Chainlink plugin. Its methods were wrapped and are available both as Hardhat tasks and as methods in HRE. Thus, most of the work related to interaction with Chainlink Function and DONs, manipulating secrets, gists is delegated to the "@chainlink/functions-toolkit". Ability to run Functions simulations was wrapped as well and is available in the Hardhat-Chainlink plugin.