JTraversa / merkle-distributor

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@uniswap/merkle-distributor

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>

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

License:GNU General Public License v3.0


Languages

Language:TypeScript 88.8%Language:Solidity 11.2%