• Stars
    star
    189
  • Rank 204,649 (Top 5 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created over 3 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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

๐Ÿ’ป

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

More Repositories

1

anthropic-rs

Anthropic Rust SDK ๐Ÿฆ€ with async support.
Rust
19
star
2

starkvest

StarkNet ERC20 token vesting smart contracts
Cairo
14
star
3

majin-blob

Utility features to play with EIP-4844 blobs for Starknet usage.
Rust
14
star
4

askeladd

Powering Verifiable Computation for Nostr Data Vending Machines.
Rust
14
star
5

kickstart-starknet

Start your new Starknet project in one command!
Cairo
12
star
6

coconut

๐Ÿฅฅ Cashu wallet and mint implementation in Zig
C
7
star
7

bdhke-cairo

Blind Diffie-Hellmann Key Exchange (BDHKE) implementation in Cairo.
Cairo
6
star
8

howmuch-rs

A library providing helpers for various StarkNet fees related tasks.
Rust
6
star
9

stark101-rs

Stark 101 in Rust
Rust
6
star
10

poh-starknet-bridge-l1

Proof Of Humanity StarkNet bridge L1 smart contracts
Solidity
3
star
11

cairo-rs-no-std-demo

Cairo VM integration in a Rust no-std environment.
Rust
3
star
12

besu-storage-redis

Besu Redis key value store plugin
Java
3
star
13

gh-gpt

Github ChatGPT powered bot.
Rust
3
star
14

poh-starknet-bridge-l2

Proof Of Humanity StarkNet bridge L2 smart contracts
Shell
2
star
15

generator-eip

Ethereum Improvement Proposal generator
JavaScript
2
star
16

stwo-wasm-demo

Demo running STWO prover and verifier in Browser, using WASM.
JavaScript
2
star
17

senkyou

Senkyou provides an Ethereum RPC gateway over message broker systems such as Kafka.
Go
2
star
18

bitcoin-faucet

Bitcoin Faucet
TypeScript
2
star
19

bitcoin-kani

Bitcoin full node implementation written in Rust ๐Ÿฆ€
Rust
1
star
20

starknet-foundry-bugs

Repo for reproductible samples of bugs in Starknet Foundry
Cairo
1
star
21

adventofcode-rs

Advent of Code 2022 ๐Ÿฆ€
Rust
1
star
22

starknet-sandbox

Starknet contracts sandbox
JavaScript
1
star
23

starknet-starter-pack

Starter pack for Starknet
1
star
24

ibc-upgrade-tools

IBC upgrade tools
TypeScript
1
star