{"id":15016176,"url":"https://github.com/abdelstark/token-vesting-contracts","last_synced_at":"2025-05-16T09:03:39.424Z","repository":{"id":39606147,"uuid":"370667929","full_name":"AbdelStark/token-vesting-contracts","owner":"AbdelStark","description":"ERC20 token vesting smart contracts 💰⏳","archived":false,"fork":false,"pushed_at":"2024-12-17T13:38:53.000Z","size":2281,"stargazers_count":201,"open_issues_count":14,"forks_count":143,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-14T11:59:50.008Z","etag":null,"topics":["erc20","ethereum","forge","foundry","smart-contracts","solidity","solmate","vesting"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AbdelStark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":"audits/hacken_audit_report.pdf","citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-25T11:24:59.000Z","updated_at":"2025-05-08T21:46:42.000Z","dependencies_parsed_at":"2024-01-20T22:41:03.931Z","dependency_job_id":"e97a219a-3f67-4636-823a-e0606854e79e","html_url":"https://github.com/AbdelStark/token-vesting-contracts","commit_stats":{"total_commits":151,"total_committers":10,"mean_commits":15.1,"dds":0.5562913907284768,"last_synced_commit":"cbd985da1039256954e81241882ce544db2c6f30"},"previous_names":["abdelstark/token-vesting-contracts","abdelhamidbakhta/token-vesting-contracts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdelStark%2Ftoken-vesting-contracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdelStark%2Ftoken-vesting-contracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdelStark%2Ftoken-vesting-contracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdelStark%2Ftoken-vesting-contracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AbdelStark","download_url":"https://codeload.github.com/AbdelStark/token-vesting-contracts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254501554,"owners_count":22081528,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["erc20","ethereum","forge","foundry","smart-contracts","solidity","solmate","vesting"],"created_at":"2024-09-24T19:48:30.666Z","updated_at":"2025-05-16T09:03:39.337Z","avatar_url":"https://github.com/AbdelStark.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Actions Status](https://github.com/abdelhamidbakhta/token-vesting-contracts/workflows/test/badge.svg)](https://github.com/abdelhamidbakhta/token-vesting-contracts/actions/workflows/test.yml)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![license](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![npm version](https://badge.fury.io/js/erc20-token-vesting.svg)](https://badge.fury.io/js/erc20-token-vesting)\n\n# Token Vesting Contracts\n\n## Overview\n\nOn-Chain vesting scheme enabled by smart contracts.\n\n`TokenVesting` contract can release its token balance gradually like a typical vesting scheme, with a cliff and vesting period.\nThe vesting schedules are optionally revocable by the owner.\n\n## 🎭🧑‍💻 Security audits\n\n- [Security audit](https://github.com/abdelhamidbakhta/token-vesting-contracts/blob/main/audits/hacken_audit_report.pdf) from [Hacken](https://hacken.io)\n\nThis repository is compatible with both Forge and Hardhat.\nForge needs to be ran (install and build) before Hardhat is used in order to load dependency contracts.\nYou can find the specific instructions for each tool below.\n\n### Forge\n\n#### 📦 Installation\n\n```console\nforge install\n```\n\n#### ⛏️ Compile\n\n```console\nforge build\n```\n\n#### 🌡️ Testing\n\n```console\n$ forge test\n```\n\n### Hardhat\n\n#### 📦 Installation\n\n```console\n$ yarn\n```\n\n#### ⛏️ Compile\n\n```console\n$ yarn compile\n```\n\nThis task will compile all smart contracts in the `contracts` directory.\nABI files will be automatically exported in `build/abi` directory.\n\n#### 📚 Documentation\n\nDocumentation is auto-generated after each build in `docs` directory.\n\nThe generated output is a static website containing smart contract documentation.\n\n#### 🌡️ Testing\n\nNote: make sure to have ran forge build and compile before you run tests.\n\n```console\n$ yarn test\n```\n\n#### 📊 Code coverage\n\n```console\n$ yarn coverage\n```\n\nThe report will be printed in the console and a static website containing full report will be generated in `coverage` directory.\n\n#### ✨ Code style\n\n```console\n$ yarn prettier\n```\n\n#### 🐱‍💻 Verify \u0026 Publish contract source code\n\n```console\n$ npx hardhat  verify --network mainnet $CONTRACT_ADDRESS $CONSTRUCTOR_ARGUMENTS\n```\n\n## 📄 License\n\n**Token Vesting Contracts** is released under the [Apache-2.0](LICENSE).\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/abdelhamidbakhta\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/45264458?v=4?s=100\" width=\"100px;\" alt=\"Abdel @ StarkWare \"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAbdel @ StarkWare \u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/abdelhamidbakhta/token-vesting-contracts/commits?author=abdelhamidbakhta\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/vpavlin\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/4759808?v=4?s=100\" width=\"100px;\" alt=\"Vaclav Pavlin\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eVaclav Pavlin\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/abdelhamidbakhta/token-vesting-contracts/commits?author=vpavlin\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/TheMightyYak1\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/78634345?v=4?s=100\" width=\"100px;\" alt=\"Brendan Baker\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eBrendan Baker\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/abdelhamidbakhta/token-vesting-contracts/commits?author=TheMightyYak1\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/owlen\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/5638865?v=4?s=100\" width=\"100px;\" alt=\"Oren Gampel\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eOren Gampel\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/abdelhamidbakhta/token-vesting-contracts/commits?author=owlen\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdelstark%2Ftoken-vesting-contracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdelstark%2Ftoken-vesting-contracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdelstark%2Ftoken-vesting-contracts/lists"}