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

require provider url instead of provider object in constructor #18

Open
mdtanrikulu opened this issue Jun 12, 2022 · 0 comments
Open

require provider url instead of provider object in constructor #18

mdtanrikulu opened this issue Jun 12, 2022 · 0 comments

Comments

@mdtanrikulu
Copy link
Member

currently ens-avatar library requires provider object in constructor as a required parameter, but in fact provider should be constructed based on CAIP-22/CAIP-29 chain id information.

Changing network on given provider wont work, because provider interfaces like StaticJSONProvider does not provide option to change network after.

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