Skip to content

Latest commit

 

History

History
72 lines (46 loc) · 1.18 KB

README.md

File metadata and controls

72 lines (46 loc) · 1.18 KB

MerkleAirdrop Project

Airdrop

Overview

The MerkleAirdrop project allows users to claim Masala tokens if they are part of an allowed list defined by a Merkle tree. This project leverages Merkle proofs and EIP-712 signatures to ensure secure and verified token distribution.

Foundry consists of:

  • Forge: Ethereum testing framework (like Truffle, Hardhat and DappTools).
  • Cast: Swiss army knife for interacting with EVM smart contracts, sending transactions and getting chain data.
  • Anvil: Local Ethereum node, akin to Ganache, Hardhat Network.
  • Chisel: Fast, utilitarian, and verbose solidity REPL.

Documentation

https://book.getfoundry.sh/

Usage

Build

$ forge build

Test

$ forge test

Format

$ forge fmt

Gas Snapshots

$ forge snapshot

Anvil

$ anvil

Deploy

$ forge script script/MasalaToken.s.sol:MasalaToken --rpc-url <your_rpc_url> --account <your_keystore-account>

Cast

$ cast <subcommand>

Help

$ forge --help
$ anvil --help
$ cast --help