Skip to content
Projects

AbdelStark/token-vesting-contracts

View on GitHub

AbdelStark/token-vesting-contracts has 203 GitHub stars and 140 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-18 10:33 UTC. Last push 2024-12-17.

How these counts are measured

Measured star growth

in 24h
0
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

ERC20 token vesting smart contracts πŸ’°β³

Developer Tools

README.md

Original

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 $CONTRACT_ADDRESS $CONSTRUCTOR_ARGUMENTS

πŸ“„ 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!