Skip to content

📦 A smart contract that distributes a balance of tokens according to a merkle root

License

Notifications You must be signed in to change notification settings

Swivel-Finance/merkle-distributor

 
 

Repository files navigation

@Swivel-Finace/merkle-distributor

A merkle distributor that allows an admin to iterate/overwrite previous distributions.

Tests Lint

Local Development

The following assumes the use of node@>=10.

Install Dependencies

yarn

Compile Contracts

yarn compile

Run Tests

yarn test

Generating Tree

npm install typescript

npm install ts-node

ts-node scripts/generate-merkle-root.ts --input <INPUT_JSON_DIRECTORY>

e.g.

ts-node scripts/generate-merkle-root.ts --input scripts/airdrop_list.json

About

📦 A smart contract that distributes a balance of tokens according to a merkle root

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 62.1%
  • Solidity 37.9%