You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there. I want to develop a badge contract but seems like there is no convinient way to add desired contracts/interfaces to my hardhat project (like @openzeppelin/contracts or @ethereum-attestation-service/eas-contracts).
For example. I want to create a simple badge contract. I want to add ScrollBadgeAccessControl, ScrollBadgeSingleton, ScrollBadge interfaces. There are two options: add them with direct http github links or copypaste every error/interface/contract manually by myself.
I can't add the links because hardhat does not support imports with https links
Error HH406: Invalid import https://github.com/scroll-tech/canvas-contracts/blob/master/src/badge/extensions/ScrollBadgeAccessControl.sol from contracts/main/ConftBadge.sol. Hardhat doesn't support imports via https.
Adding everything manually is really inconvinient.
Seems like it could be really nice to have some simple npm lib like scroll already did here.
The text was updated successfully, but these errors were encountered:
Hi there. I want to develop a badge contract but seems like there is no convinient way to add desired contracts/interfaces to my hardhat project (like @openzeppelin/contracts or @ethereum-attestation-service/eas-contracts).
For example. I want to create a simple badge contract. I want to add
ScrollBadgeAccessControl
,ScrollBadgeSingleton
,ScrollBadge
interfaces. There are two options: add them with direct http github links or copypaste every error/interface/contract manually by myself.I can't add the links because hardhat does not support imports with https links
Adding everything manually is really inconvinient.
Seems like it could be really nice to have some simple npm lib like scroll already did here.
The text was updated successfully, but these errors were encountered: