Skip to content

Files

Latest commit

 

History

History

contracts

ZK DROP

Install

Install Foundry

forge install
forge update # to update to the latest version of the solidity library (recommended)

Run tests

Test are run using fork tests First setup your env variables

cp example.env .env

Run tests

forge test -vvvv --fork-url https://rpc.ankr.com/eth_goerli

# you can also use an environment variable for the RPC_URL
forge test -vvvv --fork-url $RPC_URL

Deploy

Define your deployment mnemonic

forge script DeployZKDrop --mnemonics "$MNEMONIC" --sender "$SENDER" --broadcast --verify