Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

hardhat support #60

Open
3 tasks
zomglings opened this issue Sep 2, 2022 · 1 comment
Open
3 tasks

hardhat support #60

zomglings opened this issue Sep 2, 2022 · 1 comment

Comments

@zomglings
Copy link
Member

Currently, running a hardhat compile in a repo that contains @moonstream/contracts imports breaks.

This is because there is no @moonstream/contracts package on NPM and hardhat uses NPM packages to manage dependencies.

See conversation on Moonstream Discord: https://discord.com/channels/867156607644860418/954495097406382120/1015381496082726983

Thanks to defikris for pointing this out.

This is what we need to do to enable hardhat support:

@Yhtiyar
Copy link
Contributor

Yhtiyar commented Sep 7, 2022

Foundry is using hardhat-preprocessor to deal with remappings:
https://book.getfoundry.sh/config/hardhat

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants