AbdelStark
token-vesting-contracts
JavaScript

ERC20 token vesting smart contracts ๐Ÿ’ฐโณ

Last updated Jul 3, 2026
203
Stars
140
Forks
14
Issues
0
Stars/day
Attention Score
69
Language breakdown
JavaScript 57.2%
Solidity 42.1%
Shell 0.7%
โ–ธ Files click to expand
README

Actions Status code style: prettier license npm version

Token Vesting Contracts

Overview

On-Chain vesting scheme enabled by smart contracts.

TokenVesting contract can release its token balance gradually like a typical vesting scheme, with a cliff and vesting period. The vesting schedules are optionally revocable by the owner.

๐ŸŽญ๐Ÿง‘โ€๐Ÿ’ป Security audits

This repository is compatible with both Forge and Hardhat. Forge needs to be ran (install and build) before Hardhat is used in order to load dependency contracts. You can find the specific instructions for each tool below.

Forge

๐Ÿ“ฆ Installation

forge install

โ›๏ธ Compile

forge build

๐ŸŒก๏ธ Testing

$ forge test

Hardhat

๐Ÿ“ฆ Installation

$ yarn

โ›๏ธ Compile

$ yarn compile

This task will compile all smart contracts in the contracts directory. ABI files will be automatically exported in build/abi directory.

๐Ÿ“š Documentation

Documentation is auto-generated after each build in docs directory.

The generated output is a static website containing smart contract documentation.

๐ŸŒก๏ธ Testing

Note: make sure to have ran forge build and compile before you run tests.

$ yarn test

๐Ÿ“Š Code coverage

$ yarn coverage

The report will be printed in the console and a static website containing full report will be generated in coverage directory.

โœจ Code style

$ yarn prettier

๐Ÿฑโ€๐Ÿ’ป Verify & Publish contract source code

$ npx hardhat  verify --network mainnet $CONTRACTADDRESS $CONSTRUCTORARGUMENTS

๐Ÿ“„ License

Token Vesting Contracts is released under the Apache-2.0.

Contributors โœจ

Thanks goes to these wonderful people (emoji key):

Abdel @ StarkWare
Abdel @ StarkWare

๐Ÿ’ป
Vaclav Pavlin
Vaclav Pavlin

๐Ÿ’ป
Brendan Baker
Brendan Baker

๐Ÿ’ป
Oren Gampel
Oren Gampel

๐Ÿ’ป

This project follows the all-contributors specification. Contributions of any kind welcome!

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท AbdelStark/token-vesting-contracts ยท Updated daily from GitHub