Q2 Staking 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 deploy.js in the scripts folder.
- Run command
npx hardhat run --network networkname scripts/deploy.js
- To verify contract Run Command
npx hardhat verify --network networkname deployedContractAddress arguments
For Example
- npx hardhat run --network rinkeby scripts/deploy.js
- npx hardhat verify --network rinkeby deployedAddress
(from step 1)
arguments fromdeploy.js