Skip to content

elv-preethi/test-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test-contracts

  1. Install dependencies
> forge install
  1. To compile contracts present in ./src folder
> forge build
  1. To run tests present in ./test folder (with verbosity enabled)
> forge test -vvvvv
  1. To run script in ./script folder to deploy and invoke contracts methods on tv4 network
export RPC_URL="<tv4 rpc url>"
export PRIVATE_KEY="<PK>"
> forge script script/ElvOwnable.s.sol:ElvOwnableScript --fork-url ${RPC_URL} --private-key ${PRIVATE_KEY} --broadcast --legacy

We have --legacy enabled as it considers latest london fork (wih EIP 1559) enabled.

More details on setup here.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published