Skip to content

zsociety-io/aleo-airdrop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aleo Privacy Preserving Airdrop

This project leverages merkle trees to create privacy preserving airdrops on the Aleo blockchain.

Installation

cd airdrop-cli
npm install

Usage

Replace the placeholder data at airdrop-cli/data/airdrop.csv with your airdrop data.

Create a new airdrop project

npm run create-airdrop <AIRDROP_DATA_PATH> <PROJECT_ID> <TOKEN_ID>

SnarkOS command to create the airdrop project will be displayed as well as the merkle root for your project.

Claim a airdrop

npm run claim-airdrop <AIRDROP_DATA_PATH> <MERKLE_ROOT> <PROJECT_ID> <TOKEN_ID> <RECIPIENT>

SnarkOS command to give to the user to claim their airdrop project will be displayed. Those same arguments can be passed to wallet adapter on the frontend instead for instance.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published