Vesting Smart Contract for 2 months cliff and 22 months linear vesting for all roles.
Roles | Token % | Total Tokens |
---|---|---|
Advisor | 05 |
500000 |
Partnership | 10 |
1000000 |
Mentor | 09 |
900000 |
create .env file in root directory.
API_URL = "https://eth-ropsten.alchemyapi.io/v2/your-api-key"
PRIVATE_KEY = "YOUR-METAMASK-PRIVATE_KEY"
ETHERSCAN_API_KEY = "YOUR-ETHERSCAN_API_KEY"
-Get Your API Key
-Get Your Rinkeby Faucet
Clone the project
git clone https://github.com/karangorania/vesting-smart-contract
Go to the project directory
cd vesting-smart-contract
Install dependencies
npm install
Compile
npx hardhat compile
Test
npx hardhat test
Deploy
node scripts/deploy.js
Deploy on Rinkeby
npx hardhat run scripts/deploy.js --network rinkeby
Verify Contract
npx hardhat verify --network rinkeby <YOUR_CONTRACT_ADDRESS>
Help
npx hardhat help