An open API service indexing awesome lists of open source software.

https://github.com/morpho-org/morpho-transfervest

Transferable vesting contracts based on Maker DAO vesting contracts.
https://github.com/morpho-org/morpho-transfervest

Last synced: 8 months ago
JSON representation

Transferable vesting contracts based on Maker DAO vesting contracts.

Awesome Lists containing this project

README

          

# Transferable Vestings

## Setup

After cloning the repo, run:
```bash
git submodule update --init --recursive
```

## Deploy Vester contract in local

Run in one terminal:
```bash
anvil
```

And in another one:
```bash
bash ./deploy_vester
```

## Create vestings' data

To create vesting data, you should import vesting params in [`vesting_params.csv`](./vesting_params.csv). The first column must be the address of the receiver and the second one is the total amount of tokens vested (with 18 decimals).

To create vestings' data, you first need to populate your `.env` file with the right parameters (check the `env.exmaple` file). You can do it by running:
```bash
cp .env.example .env
```

Then, you just need to run:
```bash
bash ./script/vestings_data.sh
```