Why npx hardhat so many deprecated warning?

I would follow the tutorial over at OpenZeppelin Upgrades: Step by Step Tutorial for Hardhat this can get you up to speed with OZ contracts and how to use hardhat and deploy your own smart contracts.

Your specific question on why all of it is deprecated should probably be asked to the hardhat team. The sample project is probably using old packages.

1 Like