Skip to content

EveripediaNetwork/payouts-contracts

 
 

Repository files navigation

Payouts

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 $RINKEBY_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

Languages

  • TypeScript 81.5%
  • Solidity 18.1%
  • Makefile 0.4%