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

Switch to Hardhat configuration variables instead of using .env #10

Open
andrejrakic opened this issue Feb 5, 2024 · 1 comment
Open

Comments

@andrejrakic
Copy link
Collaborator

Update the project to support Hardhat configuration variables instead of using .env file(s)

@lucasarchangelo
Copy link
Contributor

lucasarchangelo commented May 18, 2024

Hey @andrejrakic, In utils.js, some methods rely on process.env, which will cause errors if we migrate to Hardhat variables. I propose refactoring tasks to create the signer object by calling ethers.getSigners(). This way, we won’t need these environment variables anymore.

[edit]
“I have created a new PR (#15) that addresses all the necessary changes before transitioning from the .env file to Hardhat variables.

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