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

Ability to use project without needing to add env vars #38

Open
ashgansh opened this issue Apr 29, 2024 · 2 comments
Open

Ability to use project without needing to add env vars #38

ashgansh opened this issue Apr 29, 2024 · 2 comments

Comments

@ashgansh
Copy link

Just tried to use the boilerplate for the first time and found it a bit cumbersome to have all these api keys setup.

Think it would be cool to just have a zero-config option to use the boilerplate for the first time.

Dirty way to solve this (the way i did it) is to comment out the config requirements inside of hardhat.config.ts

Happy to do a PR, if you have a better way to solve this don't hesitate to share

@wslyvh
Copy link
Owner

wslyvh commented Apr 29, 2024

Hi Ben, thanks for the feedback!

I agree that it should be possible to run with zero-config. Are you just having these issues with hardhat?
In that case, I likely have messed that up with recent migration to hardhat-viem and ignition. I think the right approach would be to check if variables are available. If so, it include verification steps, etc. If not, skip those steps.
A default deployer key would solve the default build/deploy task.

If you want to submit a PR for it, feel free! Otherwise, will try to fix later (but I'll be out for ~2 weeks)

@ashgansh
Copy link
Author

alright will have a look if i have a nice way to tackle it the way you described it and do a small pr if it works :)

thanks for your work on this, cool stack

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