Why npx hardhat so many deprecated warning?

I am a very newbie to openzeppelin.
BTW, how to say current openzeppelin version? Any command or any spot to see it, clearly.

:computer: Environment

:memo:Details

Is hardhat better than truffle, in some degree?

:1234: Code to reproduce

No code, when run npx hardhat, met below issue:

Ref link : https://docs.openzeppelin.com/learn/developing-smart-contracts?pref=hardhat

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

What do you want to do? · Create an empty hardhat.config.js
If I choose ‘Create an empty hardhad.config.js’ , it will be better.

✔ What do you want to do? · Create an empty hardhat.config.js
✨ Config file created ✨
tomdeMacBook-Pro:testhardhat tom$ l
total 232
drwxr-xr-x  252 tom  admin   8.4K May  3 19:34 node_modules
-rw-r--r--    1 tom  admin   277B May  3 19:34 package.json
-rw-r--r--    1 tom  admin   104K May  3 19:34 package-lock.json
-rw-r--r--    1 tom  admin   103B May  3 19:38 hardhat.config.js
tomdeMacBook-Pro:testhardhat tom$
1 Like

Yeah, maybe you should asked to the hardhat team.

1 Like

Thanks for being here, and where is hardhat team. Wondering hardhat is one part of OZ.

OZ and Hardhat is different team each other.
Hardhat team has discord server: https://discord.gg/qdXewy2j
(Above discord link lasts for 7 days)