This project demonstrates a basic Smart Contract which can be upgraded while following OpenZeppelin guides in OpenZeppelin.
They cover the following topics:
- Setting up a Node project
- Developing smart contracts
- Deploying and interacting with smart contracts
- Writing automated smart contract tests
- Connecting to public test networks
- Upgrading smart contracts
- Preparing for mainnet
First of all, you must have installed NodeJS. Then:
- Download this repository.
- In the root directory, execute the
npm installcommand in order to install the required dependencies.
Once dependencies are installed, you can execute the test file with the command:
$ npx hardhat test test/Box.test.js