Error HH404: File @openzeppelin/contracts/utils/Counters.sol, imported from aaa.sol, not found.

preview_player
Показать описание
Reason: You are using Openzeppelin version 5.0.0

Solution1
Manually write your counters. e.g.
uint256 counter = counter + 1;

Solution2
Downgrade openzepellin from v5.0.0 to v4.9.3
Рекомендации по теме
Комментарии
Автор

Really helpful! Thank you for the video :D

berry-xsln
join shbcf.ru