Skip to content

kvdenden/glhf

Repository files navigation

GLHF

  • Create a .env file with your configuration. You can copy .env.example as a starting point.
  • Run a local blockchain using yarn anvil
  • Deploy contracts using yarn deploy
  • Enable allowlist sale with yarn init-sale
  • Start auction with yarn start-auction
  • You can use cast to make custom contract calls from your CLI.

Usage

Install

$ forge install --no-commit

Build

$ forge build

Test

$ forge test

Anvil (local blockchain)

$ anvil

Deploy

$ forge script script/Deploy.s.sol:DeployScript --rpc-url <your_rpc_url> --broadcast --verify

Cast

$ cast <subcommand>

Help

$ forge --help
$ anvil --help
$ cast --help

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors