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

Have explorer name reflect network #44

Open
antazoey opened this issue Sep 19, 2022 · 0 comments
Open

Have explorer name reflect network #44

antazoey opened this issue Sep 19, 2022 · 0 comments

Comments

@antazoey
Copy link
Member

antazoey commented Sep 19, 2022

Overview

Currently, the explorer class repr always says Etherscan if connected to an L2 network such as Polygon:

Etherscan(name='etherscan', network=<polygon:mainnet chain_id=137>)

Specification

Perhaps it would be nice to either have it be unique classes (clones):

Polygonscan(name='polygonscan', network=<polygon:mainnet chain_id=137>)

or keep the class name and only change the "name":

Etherscan(name='polygonscan', network=<polygon:mainnet chain_id=137>)

Describe the syntax and semantics of how you would like to see this feature implemented. The more detailed the better!

Remember, your feature is much more likely to be included if it does not involve any breaking changes.

Dependencies

Include links to any open issues that must be resolved before this feature can be implemented.

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

1 participant