Q2 Vesting Contract
About
The Q2 Vesting contract will lock the Q2 token for a set period of time before distributing it to investors.
Prerequisites
Getting Started
- Clone the repo locally
- Install packages with
npm install
Run Tests
- copy and paste the private key into hardhat.config.js
- Run command
npx hardhat --network ganache test
Deployment
- For the deployment of smart contracts, we need to choose a network, i.e., bscmainnet, etherum, rinkeby or other network.
- Token Address should be pasted into q2vesting.js in the scripts folder.
- Run command
npx hardhat run --network networkname scripts/q2vesting.js
- To verify contract Run Command
npx hardhat verify --network networkname deployedContractAddress arguments
For Example
- npx hardhat run --network rinkeby scripts/q2Vesting.js
- npx hardhat verify --network rinkeby deployedAddress
(from step 1)
arguments fromq2vesting.js