The repo contains smart contracts that form the $PUSH token functionality and all the vesting contracts functionality including their test cases.
- Clone repo
- Run npm install
- Run npm start first to setup environment variables
- Run hardhat functions
- Read more about Hardhat here: https://hardhat.org/
npm install
npm start
npx hardhat [operations]
For compiling the smart contracts placed under contracts
npx hardhat compile
The test folder contains various test cases in different test files.
npx hardhat test
npx hardhat test ./test/token/EPNS.NonERC20.test
npx hardhat test ./test/token/EPNS.StandardERC20.test
To deploy smart contracts on a selected network
npx hardhat run scripts/deploy.js
npx hardhat run scripts/deploy.js --network ropsten