Skip to content

web3nomad/hippyghosts-contracts

Repository files navigation

HippyGhosts contracts

Forge

Install

curl -L https://foundry.paradigm.xyz | bash
# This will download foundryup. Then install Foundry by running:
foundryup

Compile

forge build

Test

Run test with -vv to print logs

forge test -vv

Gas report

Run testMintGasReport to mint 1 token and generate gas report for minting

forge test --match-test testMintGasReport --gas-report

Install

forge install openzeppelin/[email protected]
forge install brockelmore/forge-std

Deploy with Hardhat

Since remappings doesn't work with hardhat, I need change the dependencies structure to hardhat style and config remappings for Forge

yarn hardhat deploy --network rinkeby --tags nft

verify contracts

yarn hardhat etherscan-verify --network rinkeby

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published