Skip to content

Latest commit

 

History

History
113 lines (75 loc) · 2.11 KB

README.md

File metadata and controls

113 lines (75 loc) · 2.11 KB

Vesting-Smart-Contract

Vesting Smart Contract for 2 months cliff and 22 months linear vesting for all roles.

Vesting

Get all Tokens Details

Roles Token % Total Tokens
Advisor 05 500000
Partnership 10 1000000
Mentor 09 900000

Important Step

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

NPM Packages

Tech Stack

Run Locally

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

Check on Rinkeby Explorer