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

Improvement: etherscan API key #24

Closed
simon-something opened this issue Oct 11, 2022 · 0 comments · Fixed by #25
Closed

Improvement: etherscan API key #24

simon-something opened this issue Oct 11, 2022 · 0 comments · Fixed by #25

Comments

@simon-something
Copy link

Issue: while fetching interfaces, the Ethescan api rate limit of 1req/5sec is hit.

Solution: allowing users to set an Etherscan api key, which would then be used (adding &apiKey=... to

let url = `${provider}/api?module=contract&action=getabi&address=${address}`;
). This would require storing user data tho (but might be nice to have for default provider too), happy to help with dotenv for instance

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 a pull request may close this issue.

1 participant