*Degen Dev 1 #IPFS Link: https://ipfs.io/ipfs/QmdyhgzASJWEAtF2ZFuqBnL4L3FR5NxcspvsgZhaBbLNxf?filename=DegenDev1.png #CID: QmdyhgzASJWEAtF2ZFuqBnL4L3FR5NxcspvsgZhaBbLNxf
*Degen Dev 2 #IPFS Link: https://ipfs.io/ipfs/QmXCkQyfVuTpGytapCQCozoaHiKjfvsUvSwnX6tJeV3W5i?filename=DegenDev2.png #CID: QmXCkQyfVuTpGytapCQCozoaHiKjfvsUvSwnX6tJeV3W5i
*Degen Dev 3 #IPFS Link: https://ipfs.io/ipfs/QmQbaMM9NdAJ5BsKDfgWCZgSRxVAfii8rLzBfZBpHjJ8xg?filename=DegenDev3.png #CID: QmQbaMM9NdAJ5BsKDfgWCZgSRxVAfii8rLzBfZBpHjJ8xg
*Degen Dev 4 #IPFS Link: https://ipfs.io/ipfs/QmRWxhAbJCN53ZVwHvCQbSXwSLxmUyATpqMqcrKYawEEev?filename=DegenDev4.png #CID: QmRWxhAbJCN53ZVwHvCQbSXwSLxmUyATpqMqcrKYawEEev
*Degen Dev 5 #IPFS Link: https://ipfs.io/ipfs/QmWfzKDefhAPhDcWDYHNvxwBZjJ36vQbhY1iNV7QoPDrHB?filename=DegenDev5.png #CID: QmWfzKDefhAPhDcWDYHNvxwBZjJ36vQbhY1iNV7QoPDrHB
*Degen Dev 6 #IPFS Link: https://ipfs.io/ipfs/QmNWjuNpxMKrxpA1dsCPigDF8UupjfTcdioq7vJwGYYDVi?filename=DegenDev6.png #CID: QmNWjuNpxMKrxpA1dsCPigDF8UupjfTcdioq7vJwGYYDVi
*Degen Dev 7 #IPFS Link: https://ipfs.io/ipfs/QmWsmoCMfLzrEPKJMyVZqhtzHxfCv4zMtB26z5C4MgHEba?filename=DegenDev7.png #CID: QmWsmoCMfLzrEPKJMyVZqhtzHxfCv4zMtB26z5C4MgHEba
*Degen Dev 8 #IPFS Link: https://ipfs.io/ipfs/QmYqYhpjkaQd11VRLM6CUHXju3qoz3NU7KmwvTHJmNnpXN?filename=DegenDev8.png #CID: QmYqYhpjkaQd11VRLM6CUHXju3qoz3NU7KmwvTHJmNnpXN
*Degen Dev 9 #IPFS Link: https://ipfs.io/ipfs/QmWNS9DdbdpwYV2pcq28WUPyfHbEt1kcQzWFGaQRrzorUD?filename=DegenDev9.png #CID: QmWNS9DdbdpwYV2pcq28WUPyfHbEt1kcQzWFGaQRrzorUD
*Degen Dev 10 #IPFS Link: https://ipfs.io/ipfs/QmfUsG8yy9HfxnW2N9VbkQQ6vADcoVhhKBF9bG2YTbPCmY?filename=DegenDev10.png #CID: QmfUsG8yy9HfxnW2N9VbkQQ6vADcoVhhKBF9bG2YTbPCmY
- hardhat-deploy
- hardhat-gas-reporter
- hardhat-typechain
- hardhat-contract-sizer
- @nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers@^0.3.0-beta.10"
- "@nomiclabs/hardhat-etherscan": "^3.0.0",
- "@nomiclabs/hardhat-waffle": "^2.0.1",
AVAILABLE TASKS:
accounts Prints the list of accounts
check Check whatever you need
clean Clears the cache and deletes all artifacts
compile Compiles the entire project, building all artifacts
console Opens a hardhat console
coverage Generates a code coverage report for tests
deploy Deploy contracts
etherscan-verify submit contract source code to etherscan
export export contract deployment of the specified network into one file
export-artifacts
flatten Flattens and prints contracts and their dependencies
fund-link Funds a contract with LINK
gas-reporter:merge
help Prints this message
node Starts a JSON-RPC server on top of Hardhat EVM
run Runs a user-defined script after compiling the project
size-contracts Output the size of compiled contracts
sourcify submit contract source code to sourcify (https://sourcify.dev)
test Runs mocha tests
typechain Generate Typechain typings for compiled contracts
verify Verifies contract on Etherscan
yarn hardhat deploy
yarn hardhat deploy --network rinkeby
yarn hardhat node (run automatly all deploys)
yarn hardhat run ./scripts/greet.ts --network localhost
yarn hardhat test (generate gas-report.log)
yarn hardhat coverage
yarn hardhat typechain
yarn prettier '**/*.{json,sol,md}' --check
yarn prettier '**/*.{json,sol,md}' --write
yarn eslint '**/*.{js,ts}'
yarn eslint '**/*.{js,ts}' --fix
yarn solhint 'contracts/**/*.sol'
yarn solhint 'contracts/**/*.sol' --fix
- "@typechain/ethers-v5": "^9.0.0",
- "@typechain/hardhat": "^4.0.0",
- "@types/chai": "^4.3.0",
- "@types/mocha": "^9.0.0",
- "ts-node": "^10.4.0",
- "typechain": "^7.0.0",
- "typescript": "^4.5.4"
- "@typescript-eslint/eslint-plugin": "^5.30.5",
- "@typescript-eslint/parser": "^5.30.5",
- "solhint": "^3.3.6",
- "eslint": "^8.19.0",
- "prettier": "^2.4.1",
- "prettier-plugin-solidity": "^1.0.0-beta.19",
.prettierrc
{
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": false
}
- "chai": "^4.3.4",
- "ethereum-waffle": "^3.4.0",
Configure your own etherscan api key in .env