letzdoo-js / bentofund

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HardHat Foundation

License: MIT

Env

cp .env.example .env

Test

yarn test
yarn test test/Greeter.ts

Coverage

yarn test:coverage

https://hardhat.org/plugins/solidity-coverage.html#tasks

Gas

yarn test:gas

https://github.com/cgewecke/hardhat-gas-reporter

Lint

yarn lint

Watch

npx hardhat watch compile

Deployment

Local

Running the following command will start a local node and run the defined deploy script on the local node.

npx hardhat node

Mainnet

yarn mainnet:deploy
yarn mainnet:verify
hardhat tenderly:verify --network mainnet ContractName=Address
hardhat tenderly:push --network mainnet ContractName=Address

Ropsten

yarn ropsten:deploy
yarn ropsten:verify
hardhat tenderly:verify --network ropsten ContractName=Address

About

License:MIT License


Languages

Language:Solidity 68.5%Language:TypeScript 30.9%Language:JavaScript 0.4%Language:Shell 0.2%