Skip to content

HashkeyHSK/Wow-contract

Repository files navigation

Fishcake Contracts Repo

Fishcake Contracts Project

Installation

For prerequisites and detailed build instructions please read the Installation instructions. Once the dependencies are installed, run:

git submodule update --init --recursive --remote

or

forge install foundry-rs/forge-std --no-commit
forge install OpenZeppelin/openzeppelin-contracts-upgradeable --no-commit
forge install OpenZeppelin/openzeppelin-contracts --no-commit
forge install OpenZeppelin/openzeppelin-foundry-upgrades --no-commit
forge install transmissions11/solmate --no-commit

Or check out the latest release.

.env

PRIVATE_KEY=your_private_key_here
ETHERSCAN_API_KEY=your_etherscan_api_key_here

test

forge test 

Depoly

local
forge script script/DeployScript.s.sol:DeployScript --fork-url http://localhost:8545 --broadcast -vvvvv


forge script script/DeployScript.s.sol:DeployScript --fork-url http://localhost:8545 --broadcast --verify -vvvvv

test

# 运行所有测试
forge test -vvvvv

# 运行特定测试(例如)
forge test --match-test test_DeployCoin -vv

# 查看测试覆盖率
forge coverage

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •