Skip to content

FishcakeLab/fishcake-contracts

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

Or check out the latest release.

Test And Depoly

$env:PRIVATE_KEY = "0x2a871"
$env:USDT_ADDRESS = "0x3C4249f1cDfaAAFf"
$env:OPENZEPPELIN_BASH_PATH = "C:/Users/65126/Documents/Git/bin/bash.exe"

test

forge test --ffi

Depoly

forge script script/DeployerV2.s.sol:DeployerScript --rpc-url $RPC_URL --private-key $PRIVKEY --ffi

Upgrade

forge script script/UpgradeInvestorSalePoolDeployerV2.s.sol:UpgradeInvestorSalePoolDeployer --rpc-url $RPC_URL --private-key $PRIVKEY --ffi

Community

Contributing

Looking for a good place to start contributing? Check out some good first issues.

For additional instructions, standards and style guides, please refer to the Contributing document.