How to Recreate
A tutorial on how to recreate the OpenZeppelin tests locally using a Thor Solo node.
Run a Thor Solo Node
Configure a Development Environment
Clone openzeppelin-contracts
git clone git@github.com:OpenZeppelin/openzeppelin-contracts.git
cd openzeppelin-contractsInstall the required VeChain libraries
npm install @vechain/hardhat-vechain@0.0.1 --save-exact
npm install @vechain/hardhat-web3@0.0.1 --save-exact
npm install @vechain/web3-providers-connex@1.0.0 --save-exactModify your hardhat.config.js
require("@vechain/hardhat-vechain");
require("@vechain/hardhat-web3");Run the OpenZeppelin Tests
Run a single test
Run all tests
Running VeChain custom fork
Clone openzeppelin-contracts
Run thor solo
Run the OpenZeppelin Tests
Run a single test
Run all tests
Run all tests in a specific directory (OZ5)
Results
Last updated
Was this helpful?