Skip to content

Deploys Vesting Vaults for kUSD or kDAO that are managed by Kolibri DAO

Notifications You must be signed in to change notification settings

Hover-Labs/dao-vesting-vault-deployer

Repository files navigation

Vesting Vault Deployer

This repository deploys Vesting Vaults for kUSD or kDAO, which are governed by the Kolibri DAO.

If you need help using this repository, feel free to ask for help in the Kolibri Discord.

Usage

Prerequisites

You must have the following installed:

  1. Node and NPM
  2. make
  3. SmartPy's CLI

1. Install Dependencies

npm i

2. Modify Configuration

Modify src/config.ts to have your desired parameters. See comments inline in the file to guide you.

3. Export a Private Key to Deploy With

This key must be funded in order to pay for the contract deploy.

export DEPLOY_SK=edsk...

4. Deploy the Vesting Vault

Run:

make deploy

This will give you some output that ends with:

Deployed vault at KT1AWW8zcWHKhRgrxkjkrkYdrLViZqcBCCuh in oocB55JiQXbRTS4ySmCph1ZK6zdfgaGuNGaC2iFETtLJL2MT5k4

4. Generate a Lambda for Governance

Note the vault address from above (the value that starts with KT1.... Run one of the two following commands to generate a lambda which will fund the vault:

Fund with kUSD:

make destination=KT1...  generate-kusd

Fund with kDAO:

make destination=KT1...  generate-kdao

About

Deploys Vesting Vaults for kUSD or kDAO that are managed by Kolibri DAO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published