Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

Contracts

Local Setup

Consolidate .env.local fill out .env

Deployed Contracts

Contract Network Contract address
Dispatcher ? not deployed yet
MembershipNFT goerli 0x5853261EAfbBC8d685647F5837c566097953628b

Deploy contracts

# To give our shell access to our environment variables
source .env
# To deploy and verify our contract
forge script script/<scriptname>.s.sol:<contractname> --rpc-url goerli || mainnet --broadcast

# concatenate the following if you want to verify the contract
# --verify -vvvv

Test contracts

Using foundry

forge test
# for more details, logging with emit, add verbosity 1 up to 5 v's
forge test -vvvv

Local Blockchain with Anvil (Foundry)

Set up a local blockchain like this

# set up fresh local blockchain
anvil

# if you want to fork an existing blockchain, because you need to interact with existing contracts, e.g on goerli testnet
anvil -f https://eth-goerli.g.alchemy.com/v2/<your_api_keys>

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages