How to Recreate
A tutorial on how to recreate the OpenZeppelin tests locally using a Thor Solo node.
Run a Thor Solo Node
Use the tutorial How to run a Thor Solo Node to start up a thor solo node.
Configure a Development Environment
Clone openzeppelin-contracts
Install the required Vechain libraries
Modify your hardhat.config.js
Add the following to your hardhat config
Add the vechain network settings
Run the OpenZeppelin Tests
Assuming you have cloned OpenZeppelin and are running thor locally in solo mode we can now move on to running the OpenZeppelin tests. First navigate to the appropriate directory.
Run a single test
Run all tests
After running a given number of tests a *.csv
file with the results of the tests will appear under openzeppelin-contracts folder.
Last updated