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

refactor: changing tasks to use getSigners and hre.ethers.providers #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lucasarchangelo
Copy link
Contributor

This refactor removes the dependency on process.env for both getProviderRpcUrl and getPrivateKey. Additionally, this refactor enhances the tasks for obtaining the Signer by using hre.ethers.getSigners() and the Provider by using hre.ethers.provider. As a result, it is now necessary to pass the --network <blockchain> flag when calling these tasks. I have also updated the documentation to inform users about this new command.

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

Successfully merging this pull request may close these issues.

1 participant