Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an official forge-std distribution to npm #170

Open
EricForgy opened this issue Sep 4, 2022 · 3 comments
Open

Add an official forge-std distribution to npm #170

EricForgy opened this issue Sep 4, 2022 · 3 comments

Comments

@EricForgy
Copy link

Hi there 👋

It would be super awesome if there was an official forge-std on NPM.

There is a related issue pertaining to Hardhat ( #39 ), but my motivation is mostly around avoiding the need for submodules. I know I should learn to love submodules, but I am already happy enough with yarn / package.json for dependency management. My other dependencies already have official distributions, e.g:

It would be super awesome to have forge-std there too 🙏

@PaulRBerg
Copy link
Contributor

PaulRBerg commented Sep 5, 2022

I'm favor of this. Besides personal preference (which is Eric's argument), there's also the backwards compatibility argument that I put forth in the prb-test README:

It is my firm conviction that Foundry is the future of Ethereum smart contract development. Solidity code is best tested in Solidity itself.

But, due to various historical reasons, the Ethereum ecosystem has for a long time relied upon JavaScript for testing smart contracts. Refactoring a code base from Hardhat or Truffle to Foundry takes time, and it may not always be possible to do it in one fell swoop

@EricForgy
Copy link
Author

What would need to happen in order to get this done?

Is it as simple as adding a package.json and having a maintainer connect it at npmjs.com?

Is there appetite for doing this with maintainers?

@EricForgy
Copy link
Author

A good step: #176 👍

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

No branches or pull requests

2 participants