smartcontractkit / hardhat-chainlink

Integrates Chainlink into Hardhat projects. This package is currently in the BETA testing phase and is not recommended for production usage yet.
https://www.npmjs.com/package/@chainlink/hardhat-chainlink
MIT License
64 stars 31 forks source link

Compatibility with ethers-v6 #10

Open diego-G opened 11 months ago

diego-G commented 11 months ago

Library installs and works in a project that is using ethers-v6.

At the moment, installation gives the following error:

Exit code: 127
Command: typechain --target ethers-v5 './src/abis/*.json'
Arguments: 
jkirkpatrick commented 11 months ago

@diego-G I forked this repository and made many fixes for ethers-v6. It will get past the error you are encountering, but I highly doubt using it is safe - tests don't run much less pass. There is just too much code in this repo to fix which depends on ethers-v5 (tx.wait(), Bignumber.from(...), ContractReceipt, etc.) for me to fix right now. But I will probably get the parts I need working before the LINK team does.