Skip to content

EveripediaNetwork/ep-contract

Repository files navigation

EP CONTRACTS

EP CONTRACTS

Getting Started

run:

forge init
forge build
forge test

Testing

    #test specific function with log
    forge test -vvv -m <functionName>

    #test all functions in a contract
    forge test --match-contract <contractName>

Development

This project uses Foundry. See the book for instructions on how to install and use Foundry.

SCRIPTS

Deploy and verify a contract

# To load the variables in the .env file
source .env

# To deploy and verify our contract
forge script script/WikiNoValidator.s.sol:WikiNoValidator --rpc-url $RPC_URL  --private-key $PRIVATE_KEY --broadcast --verify --etherscan-api-key $ETHERSCAN_KEY -vvvv --gas-price 60 --legacy

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •