@pooltogether/pooltogether-rng-contracts
v1.5.0docs
solidity-docgen --solc-module solc-0.8 -i contracts -o docs -t templates
reinstall
rm -rf node_modules/ && rm -f yarn.lock && yarn clean && yarn
verify
yarn hint && yarn test
hint
solhint "contracts/**/*.sol"
test
yarn clean-test && hardhat test
compile
hardhat --show-stack-traces --max-memory 8192 compile
coverage
HIDE_DEPLOY_LOG=true OPTIMIZER_DISABLED=true hardhat coverage
coverage:file
HIDE_DEPLOY_LOG=true OPTIMIZER_DISABLED=true hardhat coverage --testfiles
gas
REPORT_GAS=true hardhat test
start
DEBUG=* hardhat node
deploy
hardhat deploy --write true --network
clean
rm -rf build cache
clean-test
rm -rf deployments/hardhatevm_31337 test-results.xml
format
prettier --config .prettierrc --write "**/*.*.{ts,js}" "contracts/**/*.sol"
format:file
prettier --config .prettierrc --write
prepack
rm -rf build cache && hardhat compile
etherscan-verify
hardhat etherscan-verify --solc-input --api-key $ETHERSCAN_API_KEY --network
postpublish
PACKAGE_VERSION=$(./scripts/package-version.sh) && git tag -ae v$PACKAGE_VERSION && git push --tags
npm i @pooltogether/[email protected]
Metadata
- GPL-3.0
- Whatever
- PoolTogether, Inc.
- released 3/17/2022