Hardhat Sample Project (Ethers)
First, clone the sample project from our repository
git clone [email protected]:vechainfoundation/hardhat-plugin-sample-ethers.git
cd hardhat-plugin-sample-ethers
Then install the required node modules by running
npm install
npm i @vechain/web3-providers-connex
npm i @vechain/hardhat-vechain
npm i @vechain/hardhat-ethers
To be able to run the tests on Vechain you need Thor installed, which is Vechain's node implementation. We have a detailed guide on how to do that here.
npx hardhat test --network vechain
Last modified 2mo ago