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

Ship an NPM package for Flexible Voting contracts #62

Open
apbendi opened this issue Oct 16, 2023 · 1 comment
Open

Ship an NPM package for Flexible Voting contracts #62

apbendi opened this issue Oct 16, 2023 · 1 comment

Comments

@apbendi
Copy link
Member

apbendi commented Oct 16, 2023

This would be primarily for those using FV with the hardhat developer framework. We'll want to include any of the latest best practices, such as typescript interface generation, etc...

@mds1
Copy link
Contributor

mds1 commented Oct 17, 2023

You don't necessarily need to publish an NPM package for use with hardhat, e.g. forge-std is not published in npm but is still often used with hardhat. Adding a package.json file should be sufficient—this FV repo already has one but you'll need to change the files key to look like this.

Then for the user to install it they specify the github URL in their package.json, here's an example pointing to a commit but you probably can point to a tag also.

Installing from npm is better devex but just sharing as a simpler option that also works

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