/Dolven-Vestings

Distribute tokens to delegators, supported with Merkle Tree

Primary LanguageCairo


Dolvenlabs

🏦 Dolven Labs StarkNet smartcontract. DAO-Based Ecosystem Catalyst for Starknet.

For more information, click here.

To learn more about StarkNet, click here.

What is DolvenLabs?

Dolven Labs is a DAO Based Ecosystem Catalyst for projects built on the StarkNet Network, Dolven Labs aims to be the future of investing, deal flow, and value creation in the StarkNet Ecosystem. With this contract, you will be able to lock your tokens and liquidity for the dates you choose. Also, anyone can use it.

Dolven Distributor

This is the Airdrop distributor contract of Dolven Labs which allows to claiming tokens of incubated projects. More technical details will be available on our notion soon.

To Do List

  • Reentrancy Check
  • Total Claimed Value Check
  • Merkle Tree tests
  • Pedersen Hash Function Check

Basic Sample Hardhat Project - with Starknet Plugin

This project demonstrates a basic Hardhat project, but with Starknet plugin.

Get started

Clone this repo

git clone git@github.com:Shard-Labs/starknet-hardhat-example.git
cd starknet-hardhat-example

Install dependencies

npm ci

Compile a contract

npx hardhat starknet-compile contracts/contract.cairo

Run a test that interacts with the compiled contract

npx hardhat test test/DeployStrategy.ts

Supported starknet-hardhat-plugin version

package.json is fixed to use the latest starknet-hardhat-plugin version this example repository is synced with.

Troubleshooting

If you're having issues trying to use this example repo with the Starknet plugin, try running npm install or npm update, as it may be due to version mismatch in the dependencies.

Branches

Branch updating (for developers)

  • New PRs and features should be targeted to the plugin branch.
  • After releasing a new plugin version, master should ideally be reset (fast forwarded) to plugin (less ideally merged).