Skip to content

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

Notifications You must be signed in to change notification settings

karangoraniya/vesting-smart-contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published